test/clang-tidy/clang-cl-driver.cpp fails when run from paths starting with '/U' (common on OS X) #29676
Labels
bugzilla
Issues migrated from bugzilla
clang-tidy
wontfix
Issue is real, but we can't or won't fix it. Not invalid
Extended Description
See e.g., http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/21470/consoleFull#19036563798254eaf0-7326-4999-85b0-388101f2d404
This test was (re-)introduced in:
[clang-tools-extra] r280839 - Resubmit "Add a test for clang-tidy using the clang-cl driver."
Looks like the path is interpreted as a '/U' option in clang-cl mode:
clang-check "/Volumes/.../clang-cl-driver.cpp" -- --driver-mode=cl -###
clang-check "/Users/.../clang-cl-driver.cpp" -- --driver-mode=cl -###
The latter emits an error:
warning: argument unused during compilation: '-U sers/.../clang-cl-driver.cpp'
error: unable to handle compilation, expected exactly one compiler job in ''
Error while processing /Users/.../clang-cl-driver.cpp.
The text was updated successfully, but these errors were encountered: