[clang] [HLSL] Add RWStructuredBuffer definition to HLSLExternalSemaSource (PR #113477)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 23 10:47:47 PDT 2024
================
@@ -17,7 +17,7 @@
// EMPTY-NEXT: FinalAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit final
// There should be no more occurrances of StructuredBuffer
-// EMPTY-NOT: StructuredBuffer
+// EMPTY-NOT: {{/s}}StructuredBuffer
----------------
hekota wrote:
This ensures that we match StructuredBuffer with a space in front of it. Avoids match with RWStructuredBuffer.
https://github.com/llvm/llvm-project/pull/113477
More information about the cfe-commits
mailing list