annotate clang/test/AST/ast-dump-openmp-target-data.c @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 2e18cbf3894f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -ast-dump %s | FileCheck --match-full-lines -implicit-check-not=openmp_structured_block %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 void test(int x) {
anatofuz
parents:
diff changeset
4 #pragma omp target data map(x)
anatofuz
parents:
diff changeset
5 ;
anatofuz
parents:
diff changeset
6 }
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // CHECK: TranslationUnitDecl {{.*}} <<invalid sloc>> <invalid sloc>
anatofuz
parents:
diff changeset
9 // CHECK: `-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-target-data.c:3:1, line:6:1> line:3:6 test 'void (int)'
anatofuz
parents:
diff changeset
10 // CHECK-NEXT: |-ParmVarDecl {{.*}} <col:11, col:15> col:15 used x 'int'
anatofuz
parents:
diff changeset
11 // CHECK-NEXT: `-CompoundStmt {{.*}} <col:18, line:6:1>
anatofuz
parents:
diff changeset
12 // CHECK-NEXT: `-OMPTargetDataDirective {{.*}} <line:4:1, col:31>
anatofuz
parents:
diff changeset
13 // CHECK-NEXT: |-OMPMapClause {{.*}} <col:25, col:30>
anatofuz
parents:
diff changeset
14 // CHECK-NEXT: | `-DeclRefExpr {{.*}} <col:29> 'int' lvalue ParmVar {{.*}} 'x' 'int'
anatofuz
parents:
diff changeset
15 // CHECK-NEXT: `-CapturedStmt {{.*}} <line:5:3>
anatofuz
parents:
diff changeset
16 // CHECK-NEXT: `-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc>
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
17 // CHECK-NEXT: |-NullStmt {{.*}} <col:3>
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
18 // CHECK-NEXT: `-ImplicitParamDecl {{.*}} <line:4:1> col:1 implicit __context 'struct (unnamed at {{.*}}ast-dump-openmp-target-data.c:4:1) *const restrict'