[clang] [llvm] [FileCheck] Avoid matching IR keywords in source filenames (PR #213809)

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 3 23:10:14 PDT 2026


================
@@ -5,11 +5,11 @@ void name();
 
 void foo() {
 #pragma acc declare
-  // CHECK-NOT: declare
+  // CHECK-NOT: {{^}}declare
----------------
echristo wrote:

Apologies, you're correct of course. How about something like this?

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


More information about the cfe-commits mailing list