[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / ps4-ps5-header-search.c
blob7c24523df7a039c323cc3b012eb3ce8471c44cd1
1 /// PS4 and PS5 use the same SDK layout, so use the same tree for both.
2 // RUN: env SCE_ORBIS_SDK_DIR=%S/Inputs/scei-ps4_tree %clang -target x86_64-scei-ps4 -E -v %s 2>&1 | FileCheck %s --check-prefix=ENVPS4
3 // RUN: env SCE_PROSPERO_SDK_DIR=%S/Inputs/scei-ps4_tree %clang -target x86_64-sie-ps5 -E -v %s 2>&1 | FileCheck %s --check-prefix=ENVPS4
4 // ENVPS4: Inputs/scei-ps4_tree/target/include
5 // ENVPS4: Inputs/scei-ps4_tree/target/include_common
6 // ENVPS4-NOT: /usr/include
8 // RUN: %clang -isysroot %S/Inputs/scei-ps4_tree -target x86_64-scei-ps4 -E -v %s 2>&1 | FileCheck %s --check-prefix=SYSROOTPS4
9 // RUN: %clang -isysroot %S/Inputs/scei-ps4_tree -target x86_64-sie-ps5 -E -v %s 2>&1 | FileCheck %s --check-prefix=SYSROOTPS4
10 // SYSROOTPS4: "{{[^"]*}}clang{{[^"]*}}"
11 // SYSROOTPS4: Inputs/scei-ps4_tree/target/include
12 // SYSROOTPS4: Inputs/scei-ps4_tree/target/include_common
13 // SYSROOTPS4-NOT: /usr/include