mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 00:16:30 +00:00
[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:
parent
63da545ccd
commit
52dc4918ca
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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).
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
"""
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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++.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}}' \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user