diff options
author | Manoj Gupta <manojgupta@google.com> | 2019-09-13 00:28:37 +0000 |
---|---|---|
committer | Manoj Gupta <manojgupta@google.com> | 2019-09-13 00:28:37 +0000 |
commit | 2bef3ea48658ec42d7e4a0cff421a3c7f8c0375a (patch) | |
tree | 478f9be1e7c25bb02c5057090aebb8da8b7ba2dd /test/Frontend | |
parent | f8428b7fc1e2a00c73bfeda0072ffbc1806749e9 (diff) | |
download | clang-2bef3ea48658ec42d7e4a0cff421a3c7f8c0375a.tar.gz |
Revert r371785.
r371785 is causing fails on clang-hexagon-elf buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend')
6 files changed, 0 insertions, 27 deletions
diff --git a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep b/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep +++ /dev/null diff --git a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep b/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep +++ /dev/null diff --git a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep b/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep +++ /dev/null diff --git a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep b/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep +++ /dev/null diff --git a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep b/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep +++ /dev/null diff --git a/test/Frontend/warning-poison-system-directories.c b/test/Frontend/warning-poison-system-directories.c deleted file mode 100644 index 018f02db36..0000000000 --- a/test/Frontend/warning-poison-system-directories.c +++ /dev/null @@ -1,27 +0,0 @@ -// System directory and sysroot option causes warning. -// RUN: %clang -Wpoison-system-directories -target x86_64 -I/usr/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s 2> %t.1.stderr -// RUN: FileCheck -check-prefix=WARN < %t.1.stderr %s -// RUN: %clang -Wpoison-system-directories -target x86_64 -cxx-isystem/usr/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s 2> %t.1.stderr -// RUN: FileCheck -check-prefix=WARN < %t.1.stderr %s -// RUN: %clang -Wpoison-system-directories -target x86_64 -iquote/usr/local/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s 2> %t.1.stderr -// RUN: FileCheck -check-prefix=WARN < %t.1.stderr %s -// RUN: %clang -Wpoison-system-directories -target x86_64 -isystem/usr/local/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s 2> %t.1.stderr -// RUN: FileCheck -check-prefix=WARN < %t.1.stderr %s - -// Missing target but included sysroot still causes the warning. -// RUN: %clang -Wpoison-system-directories -I/usr/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s 2> %t.2.stderr -// RUN: FileCheck -check-prefix=WARN < %t.2.stderr %s - -// With -Werror the warning causes the failure. -// RUN: not %clang -Werror=poison-system-directories -target x86_64 -I/usr/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s 2> %t.3.stderr -// RUN: FileCheck -check-prefix=ERROR < %t.3.stderr %s - -// Cros target without sysroot causes no warning. -// RUN: %clang -Wpoison-system-directories -Werror -target x86_64 -I/usr/include -c -o - %s - -// By default the warning is off. -// RUN: %clang -Werror -target x86_64 -I/usr/include --sysroot %S/Inputs/sysroot_x86_64_cross_linux_tree -c -o - %s - -// WARN: warning: include location {{[^ ]+}} is unsafe for cross-compilation [-Wpoison-system-directories] - -// ERROR: error: include location {{[^ ]+}} is unsafe for cross-compilation [-Werror,-Wpoison-system-directories] |