Skip to content

Commit 711cad3

Browse files
committed
switch from checking name to checking for FunctionDecl
1 parent 68b7891 commit 711cad3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library %s -ast-dump | FileCheck %s
22

3-
// CHECK-LABEL: and
3+
// CHECK: -FunctionDecl {{.*}} and 'void ()'
44
void and() {}
55

6-
// CHECK-LABEL: and_eq
6+
// CHECK: -FunctionDecl {{.*}} and_eq 'void ()'
77
void and_eq() {}
88

9-
// CHECK-LABEL: bitand
9+
// CHECK: -FunctionDecl {{.*}} bitand 'void ()'
1010
void bitand() {}
1111

12-
// CHECK-LABEL: bitor
12+
// CHECK: -FunctionDecl {{.*}} bitor 'void ()'
1313
void bitor() {}
1414

15-
// CHECK-LABEL: compl
15+
// CHECK: -FunctionDecl {{.*}} compl 'void ()'
1616
void compl() {}
1717

18-
// CHECK-LABEL: not
18+
// CHECK: -FunctionDecl {{.*}} not 'void ()'
1919
void not() {}
2020

21-
// CHECK-LABEL: not_eq
21+
// CHECK: -FunctionDecl {{.*}} not_eq 'void ()'
2222
void not_eq() {}
2323

24-
// CHECK-LABEL: or
24+
// CHECK: -FunctionDecl {{.*}} or 'void ()'
2525
void or() {}
2626

27-
// CHECK-LABEL: or_eq
27+
// CHECK: -FunctionDecl {{.*}} or_eq 'void ()'
2828
void or_eq() {}
2929

30-
// CHECK-LABEL: xor
30+
// CHECK: -FunctionDecl {{.*}} xor 'void ()'
3131
void xor() {}
3232

33-
// CHECK-LABEL: xor_eq
33+
// CHECK: -FunctionDecl {{.*}} xor_eq 'void ()'
3434
void xor_eq() {}

0 commit comments

Comments
 (0)