[clang] [HLSL] Add RWStructuredBuffer definition to HLSLExternalSemaSource (PR #113477)
Tex Riddell via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 23 13:14:20 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: {{^\W}}StructuredBuffer
----------------
tex3d wrote:
This still doesn't look right. Did you test this expression for a positive match before using here? I tried that expression and it does not match what you're looking for. I confirmed that this expression works though: `{{[^[:alnum:]]}}StructuredBuffer`.
https://github.com/llvm/llvm-project/pull/113477
More information about the cfe-commits
mailing list