[all-commits] [llvm/llvm-project] 547ee1: clang: Fix x86-no-gather-no-scatter.cpp on macOS a...
Nico Weber via All-commits
all-commits at lists.llvm.org
Fri Aug 18 06:46:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 547ee1c81fceaabcb7064ed525f11f9e94083f56
https://github.com/llvm/llvm-project/commit/547ee1c81fceaabcb7064ed525f11f9e94083f56
Author: Nico Weber <thakis at chromium.org>
Date: 2023-08-18 (Fri, 18 Aug 2023)
Changed paths:
M clang/test/Driver/x86-no-gather-no-scatter.cpp
Log Message:
-----------
clang: Fix x86-no-gather-no-scatter.cpp on macOS after 993bdb047c90e9
On macOS, files are usually below `/Users/...` and clang-cl treats
that as the `/U` flag followed by something instead of as a path.
Put `--` in front of `%s` to make it treat it as a patch, like in
all other tests.
The failure without this change:
x86-no-gather-no-scatter.cpp:4:14: error: NOGATHER: expected string not found in input
// NOGATHER: "-target-feature" "+prefer-no-gather"
^
<stdin>:5:44: note: possible intended match here
clang: warning: 'x86-no-gather-no-scatter.cpp' treated as the '/U' option [-Wslash-u-filename]
^
More information about the All-commits
mailing list