diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-09-22 00:11:15 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-09-22 00:11:15 +0000 |
commit | dfc4bff19bd5392bb459b51d2b61e1bb72f11aed (patch) | |
tree | 2c7634d28f7ac5903a7dfad16f58f2d880d19d97 /clang/test/Misc/pragma-attribute-cxx.cpp | |
parent | cc10e633d9f5e474cdf1b6f6d98d9ba04630bc46 (diff) | |
download | bcm5719-llvm-dfc4bff19bd5392bb459b51d2b61e1bb72f11aed.tar.gz bcm5719-llvm-dfc4bff19bd5392bb459b51d2b61e1bb72f11aed.zip |
Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData.
llvm-svn: 313943
Diffstat (limited to 'clang/test/Misc/pragma-attribute-cxx.cpp')
-rw-r--r-- | clang/test/Misc/pragma-attribute-cxx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Misc/pragma-attribute-cxx.cpp b/clang/test/Misc/pragma-attribute-cxx.cpp index c241c4e4bdb..a8a3bdebc65 100644 --- a/clang/test/Misc/pragma-attribute-cxx.cpp +++ b/clang/test/Misc/pragma-attribute-cxx.cpp @@ -17,7 +17,7 @@ class testClass2 { testClass2 *operator -> (); }; // CHECK-LABEL: CXXRecordDecl{{.*}} testClass2 -// CHECK-NEXT: AnnotateAttr{{.*}} "test" +// CHECK: AnnotateAttr{{.*}} "test" // CHECK: CXXMethodDecl{{.*}} testMethod1 // CHECK-NEXT: ParmVarDecl{{.*}} param // CHECK-NEXT: AnnotateAttr{{.*}} "test" @@ -76,7 +76,7 @@ void testLambdaMethod() { // CHECK-LABEL: FunctionDecl{{.*}} testLambdaMethod // CHECK: LambdaExpr // CHECK-NEXT: CXXRecordDecl -// CHECK-NEXT: CXXMethodDecl{{.*}} operator() +// CHECK: CXXMethodDecl{{.*}} operator() // CHECK-NEXT: CompoundStmt // CHECK-NEXT: AnnotateAttr{{.*}} "test" |