Skip to content

Commit 52dc491

Browse files
committed
[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.
1 parent 63da545 commit 52dc491

24 files changed

+48
-48
lines changed

libcxx/test/libcxx/clang_modules_include.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Test that we can include each header in a TU while using modules.
1010
# This is important notably because the LLDB data formatters use

libcxx/test/libcxx/clang_tidy.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Run our custom libc++ clang-tidy checks on all public headers.
1010

libcxx/test/libcxx/double_include.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Test that we can include each header in two TU's and link them together.
1010

libcxx/test/libcxx/header_inclusions.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Test that all headers include all the other headers they're supposed to, as
1010
# prescribed by the Standard.

libcxx/test/libcxx/libcpp_version.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Test that all headers define the _LIBCPP_VERSION macro.
1010

libcxx/test/libcxx/no_assert_include.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Ensure that none of the standard C++ headers implicitly include cassert or
1010
# assert.h (because assert() is implemented as a macro).

libcxx/test/libcxx/system_reserved_names.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Test that headers are not tripped up by the surrounding code defining various
1010
# alphabetic macros. Also ensure that we don't swallow the definition of user

libcxx/test/libcxx/transitive_includes.gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88

99
# Test that we don't remove transitive includes of public C++ headers in the library accidentally.
1010
# When we remove a transitive public include, clients tend to break because they don't always

libcxx/utils/adb_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env python3
2-
#===----------------------------------------------------------------------===##
2+
# ===----------------------------------------------------------------------===##
33
#
44
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
55
# See https://llvm.org/LICENSE.txt for license information.
66
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
77
#
8-
#===----------------------------------------------------------------------===##
8+
# ===----------------------------------------------------------------------===##
99

1010
"""adb_run.py is a utility for running a libc++ test program via adb.
1111
"""

libcxx/utils/ci/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===----------------------------------------------------------------------===##
1+
# ===----------------------------------------------------------------------===##
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===----------------------------------------------------------------------===##
7+
# ===----------------------------------------------------------------------===##
88
#
99
# This file defines the buildkite and github actions builder images.
1010
# You can build both images using:

0 commit comments

Comments
 (0)