summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-openmp-parallel.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-06-02 04:00:38 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-06-02 04:00:38 +0000
commit2e2c02c0cdd45a59faf81bd5c87688b21a5a0d9a (patch)
tree98551e5bbcd78dafceb059928962bbd8208c312c /clang/test/AST/ast-dump-openmp-parallel.c
parentf58ef87bb789bece7cba04925756814b903b3740 (diff)
downloadbcm5719-llvm-2e2c02c0cdd45a59faf81bd5c87688b21a5a0d9a.tar.gz
bcm5719-llvm-2e2c02c0cdd45a59faf81bd5c87688b21a5a0d9a.zip
Add script to update OpenMP -ast-dump test expectations, and use it to
regenerate the test expectations. (Only two tests change, as a result of no longer matching the 0x in a pointer; the other tests were already excluding that.) llvm-svn: 362316
Diffstat (limited to 'clang/test/AST/ast-dump-openmp-parallel.c')
-rw-r--r--clang/test/AST/ast-dump-openmp-parallel.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/AST/ast-dump-openmp-parallel.c b/clang/test/AST/ast-dump-openmp-parallel.c
index ba33546681b..ff599d68098 100644
--- a/clang/test/AST/ast-dump-openmp-parallel.c
+++ b/clang/test/AST/ast-dump-openmp-parallel.c
@@ -5,13 +5,13 @@ void test() {
;
}
-// CHECK: TranslationUnitDecl 0x{{.*}} <<invalid sloc>> <invalid sloc>
-// CHECK: `-FunctionDecl 0x{{.*}} <{{.*}}ast-dump-openmp-parallel.c:3:1, line:6:1> line:3:6 test 'void ()'
-// CHECK-NEXT: `-CompoundStmt 0x{{.*}} <col:13, line:6:1>
-// CHECK-NEXT: `-OMPParallelDirective 0x{{.*}} <line:4:1, col:21>
-// CHECK-NEXT: `-CapturedStmt 0x{{.*}} <line:5:3>
-// CHECK-NEXT: `-CapturedDecl 0x{{.*}} <<invalid sloc>> <invalid sloc> nothrow
-// CHECK-NEXT: |-NullStmt 0x{{.*}} <col:3> openmp_structured_block
-// CHECK-NEXT: |-ImplicitParamDecl 0x{{.*}} <line:4:1> col:1 implicit .global_tid. 'const int *const restrict'
-// CHECK-NEXT: |-ImplicitParamDecl 0x{{.*}} <col:1> col:1 implicit .bound_tid. 'const int *const restrict'
-// CHECK-NEXT: `-ImplicitParamDecl 0x{{.*}} <col:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-parallel.c:4:1) *const restrict'
+// CHECK: TranslationUnitDecl {{.*}} <<invalid sloc>> <invalid sloc>
+// CHECK: `-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-parallel.c:3:1, line:6:1> line:3:6 test 'void ()'
+// CHECK-NEXT: `-CompoundStmt {{.*}} <col:13, line:6:1>
+// CHECK-NEXT: `-OMPParallelDirective {{.*}} <line:4:1, col:21>
+// CHECK-NEXT: `-CapturedStmt {{.*}} <line:5:3>
+// CHECK-NEXT: `-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc> nothrow
+// CHECK-NEXT: |-NullStmt {{.*}} <col:3> openmp_structured_block
+// CHECK-NEXT: |-ImplicitParamDecl {{.*}} <line:4:1> col:1 implicit .global_tid. 'const int *const restrict'
+// CHECK-NEXT: |-ImplicitParamDecl {{.*}} <col:1> col:1 implicit .bound_tid. 'const int *const restrict'
+// CHECK-NEXT: `-ImplicitParamDecl {{.*}} <col:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-parallel.c:4:1) *const restrict'
OpenPOWER on IntegriCloud