@@ -35,11 +35,11 @@ struct Foo {
35
35
// CHECK: HLSLResourceClassAttr {{.*}} Implicit CBuffer
36
36
// CHECK: HLSLResourceAttr {{.*}} Implicit CBuffer
37
37
cbuffer CB1 {
38
- // CHECK: VarDecl {{.*}} foo1 'Foo'
38
+ // CHECK: VarDecl {{.*}} foo1 'hlsl_constant Foo'
39
39
Foo foo1;
40
- // CHECK: VarDecl {{.*}} foo2 'NS1::Foo'
40
+ // CHECK: VarDecl {{.*}} foo2 'hlsl_constant NS1::Foo'
41
41
NS1::Foo foo2;
42
- // CHECK: VarDecl {{.*}} foo3 'NS1::Bar::Foo'
42
+ // CHECK: VarDecl {{.*}} foo3 'hlsl_constant NS1::Bar::Foo'
43
43
NS1::Bar::Foo foo3;
44
44
// CHECK: CXXRecordDecl {{.*}} implicit referenced class __layout_CB1 definition
45
45
// CHECK: FieldDecl {{.*}} foo1 '__layout_Foo'
@@ -65,13 +65,13 @@ namespace NS2 {
65
65
// CHECK: HLSLResourceClassAttr {{.*}} Implicit CBuffer
66
66
// CHECK: HLSLResourceAttr {{.*}} Implicit CBuffer
67
67
cbuffer CB2 {
68
- // CHECK: VarDecl {{.*}} foo0 '::Foo':'Foo'
68
+ // CHECK: VarDecl {{.*}} foo0 'hlsl_constant ::Foo':'hlsl_constant Foo'
69
69
::Foo foo0;
70
- // CHECK: VarDecl {{.*}} foo1 'Foo':'NS2::Foo'
70
+ // CHECK: VarDecl {{.*}} foo1 'hlsl_constant Foo':'hlsl_constant NS2::Foo'
71
71
Foo foo1;
72
- // CHECK: VarDecl {{.*}} foo2 'NS1::Foo'
72
+ // CHECK: VarDecl {{.*}} foo2 'hlsl_constant NS1::Foo'
73
73
NS1::Foo foo2;
74
- // CHECK: VarDecl {{.*}} foo3 'NS1::Bar::Foo'
74
+ // CHECK: VarDecl {{.*}} foo3 'hlsl_constant NS1::Bar::Foo'
75
75
NS1::Bar::Foo foo3;
76
76
// CHECK: CXXRecordDecl {{.*}} implicit referenced class __layout_CB2 definition
77
77
// CHECK: FieldDecl {{.*}} foo0 '__layout_Foo'
0 commit comments