[clang] [HLSL][NFC] Update resource attribute tests (PR #108919)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 10:40:00 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 *
----------------
hekota wrote:

This is not a regex - it would have to be enclosed in `{{}}`.

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


More information about the cfe-commits mailing list