[clang] [HLSL] Constant buffer layout struct update (PR #124840)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 13:52:57 PST 2025


================
@@ -27,6 +27,3 @@ cbuffer A {
 // AST-NEXT: TextComment {{.*}} Text=" CBuffer decl."
 // AST-NEXT: VarDecl {{.*}} a 'hlsl_constant float'
 // AST-NEXT: VarDecl {{.*}} b 'hlsl_constant int'
-// AST-NEXT: CXXRecordDecl {{.*}} implicit class __layout_A definition
-// AST: FieldDecl {{.*}} a 'float'
-// AST-NEXT: FieldDecl {{.*}} b 'int'
----------------
hekota wrote:

This test is testing the documentation comment, no need to check the layout structure.

https://github.com/llvm/llvm-project/pull/124840


More information about the cfe-commits mailing list