r351606 - [ASTDump] Add test for current AST dump behavior

Stephen Kelly via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 18 14:15:13 PST 2019


Author: steveire
Date: Fri Jan 18 14:15:13 2019
New Revision: 351606

URL: http://llvm.org/viewvc/llvm-project?rev=351606&view=rev
Log:
[ASTDump] Add test for current AST dump behavior

Added:
    cfe/trunk/test/AST/ast-dump-undeserialized.cpp

Added: cfe/trunk/test/AST/ast-dump-undeserialized.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-undeserialized.cpp?rev=351606&view=auto
==============================================================================
--- cfe/trunk/test/AST/ast-dump-undeserialized.cpp (added)
+++ cfe/trunk/test/AST/ast-dump-undeserialized.cpp Fri Jan 18 14:15:13 2019
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 %s -chain-include %s -ast-dump | FileCheck -strict-whitespace %s
+
+// CHECK: TranslationUnitDecl 0x{{.+}} <<invalid sloc>> <invalid sloc>
+// CHECK: `-<undeserialized declarations>




More information about the cfe-commits mailing list