summaryrefslogtreecommitdiffstats
path: root/test/Index/keep-going.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2019-02-20 17:13:14 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-07 12:56:01 +0000
commitdba0adcfe0fec308a047cca79b1be0b1436f6fad (patch)
treecd086e0eba2b36b88d2146e4a90ceab61a52f4f3 /test/Index/keep-going.cpp
parentd1408d8177f7553097d1efd9d62c75868340266b (diff)
[backported/clang-9][libclang] Fix CXTranslationUnit_KeepGoingrelease_70-based
-------------------------------------------------------------------------- https://reviews.llvm.org/D58501 -------------------------------------------------------------------------- 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. Subscribers: arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58501 Fixes: QTCREATORBUG-21892 Change-Id: I6b5c2490922a798fcc9080fa73fa1fdaecf7bddd Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'test/Index/keep-going.cpp')
-rw-r--r--test/Index/keep-going.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/keep-going.cpp b/test/Index/keep-going.cpp
index dbfcad32d3..82987c6cf1 100644
--- a/test/Index/keep-going.cpp
+++ b/test/Index/keep-going.cpp
@@ -25,5 +25,5 @@ class C : public A<float> { };
// CHECK: C++ base class specifier=A<float>:4:7 [access=public isVirtual=false] [type=A<float>] [typekind=Unexposed] [templateargs/1= [type=float] [typekind=Float]] [canonicaltype=A<float>] [canonicaltypekind=Record] [canonicaltemplateargs/1= [type=float] [typekind=Float]] [isPOD=0] [nbFields=1]
// CHECK: TemplateRef=A:4:7 [type=] [typekind=Invalid] [isPOD=0]
-// 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