Skip to content

Commit c193d71

Browse files
authored
[clang][Headers][lit] Fix test arm-acle-no-direct-include.c on Mac (#158677)
See [here](#144172 (comment)), 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 <[email protected]>
1 parent 53cda13 commit c193d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cl --target=aarch64-windows-msvc -Xclang -verify /E -U__STDC_HOSTED__ -Wno-builtin-macro-redefined %s 2>&1 | FileCheck %s
1+
// RUN: %clang_cl --target=aarch64-windows-msvc -Xclang -verify /E -U__STDC_HOSTED__ -Wno-builtin-macro-redefined -- %s 2>&1 | FileCheck %s
22

33
// expected-no-diagnostics
44

0 commit comments

Comments
 (0)