[clang] [clang][test] Add missing FileCheck pipe in constant-string-class-1.m (PR #189514)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 30 17:54:15 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Fady Farag (iidmsa)
<details>
<summary>Changes</summary>
The test had a CHECK directive that was never executed because the RUN line did not pipe output to FileCheck.
---
Full diff: https://github.com/llvm/llvm-project/pull/189514.diff
1 Files Affected:
- (modified) clang/test/CodeGenObjC/constant-string-class-1.m (+1-1)
``````````diff
diff --git a/clang/test/CodeGenObjC/constant-string-class-1.m b/clang/test/CodeGenObjC/constant-string-class-1.m
index 5f1e882d0d2e7..dfda2086c377c 100644
--- a/clang/test/CodeGenObjC/constant-string-class-1.m
+++ b/clang/test/CodeGenObjC/constant-string-class-1.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fno-constant-cfstrings -fconstant-string-class OFConstantString -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fno-constant-cfstrings -fconstant-string-class OFConstantString -emit-llvm -o - %s | FileCheck %s
// pr9914
@interface OFConstantString
``````````
</details>
https://github.com/llvm/llvm-project/pull/189514
More information about the cfe-commits
mailing list