[clang] [Clang] Add FileCheck lines to atomic-auto-type codegen test (PR #206749)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 08:21:47 PDT 2026


================
@@ -1,9 +1,15 @@
-// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s > /dev/null
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
 
 // This is a regression test for handling of __auto_type inside _Atomic.
 // Previously this could lead to an undeduced AutoType escaping into
 // ASTContext::getTypeInfoImpl and causing an assertion failure.
 
+// CHECK-LABEL: define {{.*}} @f(
----------------
erichkeane wrote:

I don't think `label` can do wildcards?  Perhaps just change the name of the function to be more complicated, and do a // CHECK-LABEL: @complicated_name


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


More information about the cfe-commits mailing list