diff options
Diffstat (limited to 'clang/test/AST/ast-dump-openmp-parallel.c')
| -rw-r--r-- | clang/test/AST/ast-dump-openmp-parallel.c | 20 |
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' |

