summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBProcess.cpp
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2019-03-04 21:36:49 +0000
committerAlex Langford <apl@fb.com>2019-03-04 21:36:49 +0000
commit0ca4f84f2f550f790d1868df8f6a7dfe8164e171 (patch)
tree0d957a7e1116c5a521881cbb78b8a2093a79e9dd /lldb/source/API/SBProcess.cpp
parent5be71faf4bfd6b80555be6e96e60b63dea5e245e (diff)
downloadbcm5719-llvm-0ca4f84f2f550f790d1868df8f6a7dfe8164e171.tar.gz
bcm5719-llvm-0ca4f84f2f550f790d1868df8f6a7dfe8164e171.zip
[build.py] Allow clang-cl to build files starting with '/U'
Summary: clang-cl tries to match cl's interface, and treats /U as "Removes a predefined macro" as cl does. When you feed clang-cl a file that begins with '/U' (e.g. /Users/xiaobai/foo.c), clang-cl will emit a warning and in some cases an error, like so: clang-9: warning: '/Users/xiaobai/foo.c' treated as the '/U' option [-Wslash-u-filename] clang-9: note: Use '--' to treat subsequent arguments as filenames clang-9: error: no input files If you're using clang-cl, make sure '--' is passed before the source file. Differential Revision: https://reviews.llvm.org/D58860 llvm-svn: 355341
Diffstat (limited to 'lldb/source/API/SBProcess.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud