diff options
author | Alex Lorenz <arphaman@gmail.com> | 2018-06-19 22:47:53 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2018-06-19 22:47:53 +0000 |
commit | 1f79297ebea4480f7ec594ae0d290984053ab9c8 (patch) | |
tree | e89a9d416d813101ca31d4cc542fbe81d4513302 /clang/test/CodeGenCXX/apple-kext-guard-variable.cpp | |
parent | 77920a49282b5b46aad575d6e83908fb0ff9f6e0 (diff) | |
download | bcm5719-llvm-1f79297ebea4480f7ec594ae0d290984053ab9c8.tar.gz bcm5719-llvm-1f79297ebea4480f7ec594ae0d290984053ab9c8.zip |
Recommit r335063: [Darwin] Add a warning for missing include path for libstdc++
The recommit ensures that the tests that failed on bots don't trigger the warning.
Xcode 10 removes support for libstdc++, but the users just get a confusing
include not file warning when including an STL header (when building for iOS6
which uses libstdc++ by default for example).
This patch adds a new warning that lets the user know that the libstdc++ include
path was not found to ensure that the user is more aware of why the error occurs.
rdar://40830462
Differential Revision: https://reviews.llvm.org/D48297
llvm-svn: 335081
Diffstat (limited to 'clang/test/CodeGenCXX/apple-kext-guard-variable.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/apple-kext-guard-variable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp b/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp index 76875a0b69a..ea4c1483ce7 100644 --- a/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp +++ b/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp @@ -1,4 +1,4 @@ -// RUN: %clang -target x86_64-apple-darwin10 -S -o %t.s -mkernel -Xclang -verify %s +// RUN: %clang -target x86_64-apple-darwin10 -S -o %t.s -Wno-stdlibcxx-not-found -mkernel -Xclang -verify %s // rdar://problem/9143356 |