summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/keep-going.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-07 10:13:50 +0000
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-07 10:13:50 +0000
commit878271b2945e89b868fb8daefea3dfaffce32710 (patch)
treef0f94102c32dede3e59498b4ed18d9db3d8fa1eb /clang/test/Index/keep-going.cpp
parentfd4156ed4d30828fbcca7b42618dde0550c9b674 (diff)
downloadbcm5719-llvm-878271b2945e89b868fb8daefea3dfaffce32710.tar.gz
bcm5719-llvm-878271b2945e89b868fb8daefea3dfaffce32710.zip
[libclang] Fix CXTranslationUnit_KeepGoing
Since commit 56f548bbbb7e4387a69708f70724d00e9e076153 [modules] Round-trip -Werror flag through explicit module build. the behavior of CXTranslationUnit_KeepGoing changed: Unresolved #includes are fatal errors again. As a consequence, some templates are not instantiated and lead to confusing errors. Revert to the old behavior: With CXTranslationUnit_KeepGoing fatal errors are mapped to errors. Patch by Nikolai Kosjar. Differential Revision: https://reviews.llvm.org/D58501 llvm-svn: 355586
Diffstat (limited to 'clang/test/Index/keep-going.cpp')
-rw-r--r--clang/test/Index/keep-going.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/keep-going.cpp b/clang/test/Index/keep-going.cpp
index b3f29c5d3da..0b2df725a5a 100644
--- a/clang/test/Index/keep-going.cpp
+++ b/clang/test/Index/keep-going.cpp
@@ -34,5 +34,5 @@ class C : public A<float> { };
// CHECK-KEEP-GOING-ONLY: VarDecl=global_var:1:12 [type=int] [typekind=Int] [isPOD=1]
-// CHECK-DIAG: keep-going.cpp:1:10: fatal error: 'missing1.h' file not found
-// CHECK-DIAG: keep-going.cpp:8:10: fatal error: 'missing2.h' file not found
+// CHECK-DIAG: keep-going.cpp:1:10: error: 'missing1.h' file not found
+// CHECK-DIAG: keep-going.cpp:8:10: error: 'missing2.h' file not found
OpenPOWER on IntegriCloud