diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-01-27 17:09:41 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-01-27 17:09:41 +0000 |
commit | 091f1b6ef314d4e0e37eaf438c63c307253e8b42 (patch) | |
tree | 3ed04ff4b9d8da7420eef6f681c6653231322620 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 33dc45470026c0619c3d80f95f55af330a15c3cc (diff) | |
download | bcm5719-llvm-091f1b6ef314d4e0e37eaf438c63c307253e8b42.tar.gz bcm5719-llvm-091f1b6ef314d4e0e37eaf438c63c307253e8b42.zip |
clang-cl: Warn about /U flags that look like filenames (PR31662)
Both on Mac and Windows, it's common to have a 'Users' directory in the
root of the filesystem, so one might specify a filename as
'/Users/me/myfile.c'. clang-cl (as well as MSVC's cl.exe) will interpret
that as invoking the '/U' option, which is probably not what the user
wanted. Add a warning about this.
Differential Revision: https://reviews.llvm.org/D29198
llvm-svn: 293305
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions