Author: Aiden Grossman
Date: 2025-09-20T05:56:27Z
New Revision: 354ad556e17358db2b22507e3ef07ba39991b189

URL: 
https://github.com/llvm/llvm-project/commit/354ad556e17358db2b22507e3ef07ba39991b189
DIFF: 
https://github.com/llvm/llvm-project/commit/354ad556e17358db2b22507e3ef07ba39991b189.diff

LOG: Revert "[Clang] Make rewrite-includes-bom.c work with internal shell"

This reverts commit 8d6470f717cb5c2d200f71dff09ee76a12f908a7.

This was causing a failure on the llvm-clang-aarch64-darwin builder when
using the external shell.

Added: 
    

Modified: 
    clang/test/Frontend/rewrite-includes-bom.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Frontend/rewrite-includes-bom.c 
b/clang/test/Frontend/rewrite-includes-bom.c
index 059cfa3be5bc8..caa431ad9aaff 100644
--- a/clang/test/Frontend/rewrite-includes-bom.c
+++ b/clang/test/Frontend/rewrite-includes-bom.c
@@ -1,7 +1,8 @@
-// RUN: cat %S/Inputs/rewrite-includes-bom.h | od -t x1 | grep -q 'ef bb bf'
+// RUN: grep -q $'^\xEF\xBB\xBF' %S/Inputs/rewrite-includes-bom.h
 // RUN: %clang_cc1 -E -frewrite-includes -I %S/Inputs %s -o %t.c
-// RUN: cat %t.c | od -t x1 | not grep -q 'ef bb bf'
+// RUN: ! grep -q $'\xEF\xBB\xBF' %t.c
 // RUN: %clang_cc1 -fsyntax-only -verify %t.c
 // expected-no-diagnostics
+// REQUIRES: shell
 
 #include "rewrite-includes-bom.h"


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

Reply via email to