File tree 24 files changed +48
-48
lines changed 24 files changed +48
-48
lines changed Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Test that we can include each header in a TU while using modules.
10
10
# This is important notably because the LLDB data formatters use
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Run our custom libc++ clang-tidy checks on all public headers.
10
10
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Test that we can include each header in two TU's and link them together.
10
10
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Test that all headers include all the other headers they're supposed to, as
10
10
# prescribed by the Standard.
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Test that all headers define the _LIBCPP_VERSION macro.
10
10
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Ensure that none of the standard C++ headers implicitly include cassert or
10
10
# assert.h (because assert() is implemented as a macro).
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Test that headers are not tripped up by the surrounding code defining various
10
10
# alphabetic macros. Also ensure that we don't swallow the definition of user
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Test that we don't remove transitive includes of public C++ headers in the library accidentally.
10
10
# When we remove a transitive public include, clients tend to break because they don't always
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
- #===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- #===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
"""adb_run.py is a utility for running a libc++ test program via adb.
11
11
"""
Original file line number Diff line number Diff line change 1
- # ===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- # ===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
#
9
9
# This file defines the buildkite and github actions builder images.
10
10
# You can build both images using:
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
set -e
11
11
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
#
11
11
# This script builds picolibc (https://github.com/picolibc/picolibc) from
Original file line number Diff line number Diff line change 1
- # ===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- # ===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
#
10
10
# This file describes the various pre-commit CI bots used to test libc++.
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
set -ex
11
11
set -o pipefail
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
FROM ubuntu:jammy
10
10
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
set -e
11
11
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
set -e
11
11
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
# This script is the entrypoint of an Android Emulator Docker container.
11
11
Original file line number Diff line number Diff line change 1
- # ===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- # ===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
# Bash functions for managing the names of emulator system images.
10
10
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
set -ex
11
11
Original file line number Diff line number Diff line change 1
- # ===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- # ===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
export ADB_SERVER_SOCKET=" tcp:$( docker inspect \
10
10
-f ' {{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' \
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
# Starts a new Docker container using a Docker image containing the Android
11
11
# Emulator and an OS image. Stops and removes the old container if it exists
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # ===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===##
3
3
#
4
4
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
5
# See https://llvm.org/LICENSE.txt for license information.
6
6
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
#
8
- # ===----------------------------------------------------------------------===##
8
+ # ===----------------------------------------------------------------------===##
9
9
10
10
set -e
11
11
Original file line number Diff line number Diff line change 1
- #===----------------------------------------------------------------------===##
1
+ # ===----------------------------------------------------------------------===##
2
2
#
3
3
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
# See https://llvm.org/LICENSE.txt for license information.
5
5
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
#
7
- #===----------------------------------------------------------------------===##
7
+ # ===----------------------------------------------------------------------===##
8
8
9
9
import re
10
10
import select
You can’t perform that action at this time.
0 commit comments