File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5132,7 +5132,7 @@ bool Type::isHLSLResourceWrapper() const {
51325132
51335133 CXXRecordDecl *RD = RT->getAsCXXRecordDecl ();
51345134 assert (RD != nullptr &&
5135- " all HLSL structs and classes should be CXXRecordDecl" );
5135+ " all HLSL structs and classes should be CXXRecordDecl" );
51365136 assert (RD->isCompleteDefinition () && " expecting complete type" );
51375137 if (RD->field_empty ()) {
51385138 return false ;
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ cbuffer CB {
159159 static float SV;
160160 // CHECK: VarDecl {{.*}} s7 'EmptyStruct' callinit
161161 EmptyStruct s7;
162- // CHECK: VarDecl {{.*}} Buf 'RWBuffer<float>':'hlsl::RWBuffer<float>' callinit
162+ // CHECK: VarDecl {{.*}} Buf 'RWBuffer<float>':'hlsl::RWBuffer<float>' static callinit
163163 RWBuffer <float > Buf;
164164 // CHECK: VarDecl {{.*}} ea 'EmptyArrayTypedef':'float[10][0]'
165165 EmptyArrayTypedef ea;
You can’t perform that action at this time.
0 commit comments