Skip to content

Commit 404de38

Browse files
committed
Update tests after rebase
1 parent 581d2b3 commit 404de38

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

clang/test/AST/HLSL/ast-dump-comment-cbuffer.hlsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ cbuffer A {
2727
// AST-NEXT: TextComment {{.*}} Text=" CBuffer decl."
2828
// AST-NEXT: VarDecl {{.*}} a 'hlsl_constant float'
2929
// AST-NEXT: VarDecl {{.*}} b 'hlsl_constant int'
30-
// AST-NEXT: CXXRecordDecl {{.*}} implicit class __layout.A definition
30+
// AST-NEXT: CXXRecordDecl {{.*}} implicit class __layout_A definition
3131
// AST: FieldDecl {{.*}} a 'float'
3232
// AST-NEXT: FieldDecl {{.*}} b 'int'

clang/test/AST/HLSL/cbuffer_and_namespaces.hlsl

+7-7
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ struct Foo {
3535
// CHECK: HLSLResourceClassAttr {{.*}} Implicit CBuffer
3636
// CHECK: HLSLResourceAttr {{.*}} Implicit CBuffer
3737
cbuffer CB1 {
38-
// CHECK: VarDecl {{.*}} foo1 'Foo'
38+
// CHECK: VarDecl {{.*}} foo1 'hlsl_constant Foo'
3939
Foo foo1;
40-
// CHECK: VarDecl {{.*}} foo2 'NS1::Foo'
40+
// CHECK: VarDecl {{.*}} foo2 'hlsl_constant NS1::Foo'
4141
NS1::Foo foo2;
42-
// CHECK: VarDecl {{.*}} foo3 'NS1::Bar::Foo'
42+
// CHECK: VarDecl {{.*}} foo3 'hlsl_constant NS1::Bar::Foo'
4343
NS1::Bar::Foo foo3;
4444
// CHECK: CXXRecordDecl {{.*}} implicit referenced class __layout_CB1 definition
4545
// CHECK: FieldDecl {{.*}} foo1 '__layout_Foo'
@@ -65,13 +65,13 @@ namespace NS2 {
6565
// CHECK: HLSLResourceClassAttr {{.*}} Implicit CBuffer
6666
// CHECK: HLSLResourceAttr {{.*}} Implicit CBuffer
6767
cbuffer CB2 {
68-
// CHECK: VarDecl {{.*}} foo0 '::Foo':'Foo'
68+
// CHECK: VarDecl {{.*}} foo0 'hlsl_constant ::Foo':'hlsl_constant Foo'
6969
::Foo foo0;
70-
// CHECK: VarDecl {{.*}} foo1 'Foo':'NS2::Foo'
70+
// CHECK: VarDecl {{.*}} foo1 'hlsl_constant Foo':'hlsl_constant NS2::Foo'
7171
Foo foo1;
72-
// CHECK: VarDecl {{.*}} foo2 'NS1::Foo'
72+
// CHECK: VarDecl {{.*}} foo2 'hlsl_constant NS1::Foo'
7373
NS1::Foo foo2;
74-
// CHECK: VarDecl {{.*}} foo3 'NS1::Bar::Foo'
74+
// CHECK: VarDecl {{.*}} foo3 'hlsl_constant NS1::Bar::Foo'
7575
NS1::Bar::Foo foo3;
7676
// CHECK: CXXRecordDecl {{.*}} implicit referenced class __layout_CB2 definition
7777
// CHECK: FieldDecl {{.*}} foo0 '__layout_Foo'

0 commit comments

Comments
 (0)