Author: Nick Sarnie
Date: 2025-09-15T16:32:25Z
New Revision: c193d71b0d1b04efb893474e452801081087ad98

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

LOG: [clang][Headers][lit] Fix test arm-acle-no-direct-include.c on Mac 
(#158677)

See
[here](https://github.com/llvm/llvm-project/pull/144172#issuecomment-3292907771),
need to add `--` to filename parsing on Mac because the path starts with
`/U` which `clang-cl` treats as the flag `/U`.

Signed-off-by: Sarnie, Nick <nick.sar...@intel.com>

Added: 
    

Modified: 
    clang/test/Headers/arm-acle-no-direct-include.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Headers/arm-acle-no-direct-include.c 
b/clang/test/Headers/arm-acle-no-direct-include.c
index b69549d92e4b0..d6a01a7417f0c 100644
--- a/clang/test/Headers/arm-acle-no-direct-include.c
+++ b/clang/test/Headers/arm-acle-no-direct-include.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cl --target=aarch64-windows-msvc -Xclang -verify /E 
-U__STDC_HOSTED__ -Wno-builtin-macro-redefined %s 2>&1 | FileCheck %s
+// RUN: %clang_cl --target=aarch64-windows-msvc -Xclang -verify /E 
-U__STDC_HOSTED__ -Wno-builtin-macro-redefined -- %s 2>&1 | FileCheck %s
 
 // expected-no-diagnostics
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to