[clang] b3927c0 - [clang][test] Add missing FileCheck pipe in ast-crash-doc-function-template.cpp (#187969)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 04:54:31 PDT 2026
Author: Fady Farag
Date: 2026-03-23T07:54:27-04:00
New Revision: b3927c06b5648efbb927357207d04500e00e35a2
URL: https://github.com/llvm/llvm-project/commit/b3927c06b5648efbb927357207d04500e00e35a2
DIFF: https://github.com/llvm/llvm-project/commit/b3927c06b5648efbb927357207d04500e00e35a2.diff
LOG: [clang][test] Add missing FileCheck pipe in ast-crash-doc-function-template.cpp (#187969)
The test had a CHECK directive that was never executed because the RUN
line did not pipe output to FileCheck.
Added:
Modified:
clang/test/AST/ast-crash-doc-function-template.cpp
Removed:
################################################################################
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
More information about the cfe-commits
mailing list