[clang] [HLSL][NFC] Update resource attribute tests (PR #108919)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 18 12:17:05 PDT 2024
================
@@ -29,15 +29,21 @@ RWBuffer<float> Buffer;
// CHECK-NEXT: CXXRecordDecl 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> <invalid sloc> implicit class RWBuffer definition
// CHECK: FinalAttr 0x{{[0-9A-Fa-f]+}} <<invalid sloc>> Implicit final
-// CHECK-NEXT: implicit h 'element_type * {{\[\[}}hlsl::resource_class(UAV)]] {{\[\[}}hlsl::contained_type(element_type)]]':'element_type *'
+// CHECK-NEXT: implicit h 'element_type *
----------------
damyanp wrote:
(prexisting...but...)
Aren't these regexes? so `element_type *` matches element_type followed by zero or more spaces? So the string `element_typefoo` would match.
https://github.com/llvm/llvm-project/pull/108919
More information about the cfe-commits
mailing list