Issue | 128238 |
---|---|
Summary | [HLSL] Allow `EmptyDecl` in cbuffer |
Labels | HLSL |
Assignees | |
Reporter | llvm-beanz |
EmptyDecls should be allowed in cbuffer: https://github.com/llvm/llvm-project/blob/main/clang/lib/Parse/ParseHLSL.cpp#L33
This allows formations like: ```hlsl cbuffer CB { ; } ``` Which seems silly, but happens!
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs