forked from OSchip/llvm-project
![]() 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 |
||
---|---|---|
clang | ||
clang-tools-extra | ||
compiler-rt | ||
debuginfo-tests | ||
libclc | ||
libcxx | ||
libcxxabi | ||
libunwind | ||
lld | ||
lldb | ||
llgo | ||
llvm | ||
openmp | ||
parallel-libs | ||
polly | ||
pstl | ||
.arcconfig | ||
.clang-format | ||
.clang-tidy | ||
README.md |
README.md
The LLVM Compiler Infrastructure
This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.