https://github.com/iidmsa created 
https://github.com/llvm/llvm-project/pull/187969

The test had a CHECK directive that was never executed because the RUN line did 
not pipe output to FileCheck.

>From f9cc722c974293979135aa7d8164ee0d4ec4ee35 Mon Sep 17 00:00:00 2001
From: Fady Farag <[email protected]>
Date: Sun, 22 Mar 2026 23:39:52 -0500
Subject: [PATCH] [clang][test] Add missing FileCheck pipe in
 ast-crash-doc-function-template.cpp

The test had a CHECK directive that was never executed because the
RUN line did not pipe output to FileCheck.
---
 clang/test/AST/ast-crash-doc-function-template.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to