[clang] [HLSL] Add RWStructuredBuffer definition to HLSLExternalSemaSource (PR #113477)

Tex Riddell via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 23 11:06:33 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
----------------
tex3d wrote:

How do you know that "/s" is space?  I didn't know that, and I can't find that in POSIX extended regex docs.  I would think you need to use character class like `[:space:]` instead.

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


More information about the cfe-commits mailing list