================
@@ -0,0 +1,26 @@
+// Test that loading of invalid AST dump leads CTU import failure and a note 
on stderr.
+// RUN: rm -rf %t
+// RUN: mkdir %t
+
+// RUN: touch %t/ctu-invalid-ast-other.cpp.ast
+
+// RUN: cp %S/Inputs/ctu-invalid-ast-other.cpp.externalDefMap.ast-dump.txt 
%t/externalDefMap.txt
+
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -std=c++17 -analyze \
----------------
steakhal wrote:

In CSA tests it's fairly unusual to see the raw `%clang_cc1` clang cc1 driver 
command. What did drive you opting for that instead of `clang_analyze_cc1`?

(For dumping the AST it does make sense, but here we are just loading the ast 
dump.

https://github.com/llvm/llvm-project/pull/188524
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to