[clang] [clang][test] Add missing FileCheck pipe in ast-crash-doc-function-template.cpp (PR #187969)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 22 21:43:46 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/187969.diff
1 Files Affected:
- (modified) clang/test/AST/ast-crash-doc-function-template.cpp (+1-1)
``````````diff
diff --git a/clang/test/AST/ast-crash-doc-function-template.cpp b/clang/test/AST/ast-crash-doc-function-template.cpp
index a1627c7b4d545..cb36cd30f2d3a 100644
--- a/clang/test/AST/ast-crash-doc-function-template.cpp
+++ b/clang/test/AST/ast-crash-doc-function-template.cpp
@@ -1,7 +1,7 @@
// RUN: rm -rf %t
// RUN: split-file %s %t
-// RUN: %clang_cc1 -x c++ -Wdocumentation -ast-dump-all %t/t.cpp
+// RUN: %clang_cc1 -x c++ -Wdocumentation -ast-dump-all %t/t.cpp | FileCheck %s
//--- t.h
/// MyClass in the header file
``````````
</details>
https://github.com/llvm/llvm-project/pull/187969
More information about the cfe-commits
mailing list