Debian Codegraph @

clang/test/SemaHLSL/use-cxx-alt-operator-names.hlsl

raw
1 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library %s -ast-dump | FileCheck %s
2
3 // CHECK: -FunctionDecl {{.*}} and 'void ()'
4 void and() {}
5
6 // CHECK: -FunctionDecl {{.*}} and_eq 'void ()'
7 void and_eq() {}
8
9 // CHECK: -FunctionDecl {{.*}} bitand 'void ()'
10 void bitand() {}
11
12 // CHECK: -FunctionDecl {{.*}} bitor 'void ()'
13 void bitor() {}
14
15 // CHECK: -FunctionDecl {{.*}} compl 'void ()'
16 void compl() {}
17
18 // CHECK: -FunctionDecl {{.*}} not 'void ()'
19 void not() {}
20
21 // CHECK: -FunctionDecl {{.*}} not_eq 'void ()'
22 void not_eq() {}
23
24 // CHECK: -FunctionDecl {{.*}} or 'void ()'
25 void or() {}
26
27 // CHECK: -FunctionDecl {{.*}} or_eq 'void ()'
28 void or_eq() {}
29
30 // CHECK: -FunctionDecl {{.*}} xor 'void ()'
31 void xor() {}
32
33 // CHECK: -FunctionDecl {{.*}} xor_eq 'void ()'
34 void xor_eq() {}