[libc++][NFC] Use consistent layout for license in Python files

Most Python files were using `# === [...]` instead of `#=== [...]`
so I went with what was the most common in the codebase.
This commit is contained in:
Louis Dionne 2024-09-04 16:47:20 -04:00
parent 63da545ccd
commit 52dc4918ca
24 changed files with 48 additions and 48 deletions

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Test that we can include each header in a TU while using modules.
# This is important notably because the LLDB data formatters use

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Run our custom libc++ clang-tidy checks on all public headers.

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Test that we can include each header in two TU's and link them together.

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Test that all headers include all the other headers they're supposed to, as
# prescribed by the Standard.

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Test that all headers define the _LIBCPP_VERSION macro.

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Ensure that none of the standard C++ headers implicitly include cassert or
# assert.h (because assert() is implemented as a macro).

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Test that headers are not tripped up by the surrounding code defining various
# alphabetic macros. Also ensure that we don't swallow the definition of user

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Test that we don't remove transitive includes of public C++ headers in the library accidentally.
# When we remove a transitive public include, clients tend to break because they don't always

View File

@ -1,11 +1,11 @@
#!/usr/bin/env python3
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
"""adb_run.py is a utility for running a libc++ test program via adb.
"""

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# This file defines the buildkite and github actions builder images.
# You can build both images using:

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
set -e

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# This script builds picolibc (https://github.com/picolibc/picolibc) from

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# This file describes the various pre-commit CI bots used to test libc++.

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
set -ex
set -o pipefail

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
FROM ubuntu:jammy

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
set -e

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
set -e

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# This script is the entrypoint of an Android Emulator Docker container.

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Bash functions for managing the names of emulator system images.

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
set -ex

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
export ADB_SERVER_SOCKET="tcp:$(docker inspect \
-f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' \

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
# Starts a new Docker container using a Docker image containing the Android
# Emulator and an OS image. Stops and removes the old container if it exists

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
set -e

View File

@ -1,10 +1,10 @@
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
# ===----------------------------------------------------------------------===##
import re
import select