[clang] Fix clang/test/DebugInfo/CXX/line.cpp (PR #198401)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 03:59:51 PDT 2026


================
@@ -8,7 +8,7 @@ int *sink();
 extern "C" __complex float complex_src();
 extern "C" __complex float *complex_sink();
 
-// CHECK-LABEL: define
+// CHECK-LABEL: define {{.*}}void {{.*}}f1
----------------
Ariel-Burton wrote:

Yes.  The CHECK-LABELS are clearly intended to synchronize the CHECK lines and the test input; as the test is more than a few lines these help to keep track of which function a CHECK line is associated with.

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


More information about the cfe-commits mailing list