aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2021-01-15 12:35:42 -0800
committerReid Kleckner <rnk@google.com>2021-01-15 13:22:07 -0800
commit98c89ccfbd7467f946874c2af170d0f504355dd1 (patch)
tree9ec5362fd133545021665c76b365b018da0e8510 /llvm/lib/Transforms/Utils/Debugify.cpp
parent6a42cbf6d2116b52cb59aa3e23bef93a30cf2dc8 (diff)
downloadllvm-98c89ccfbd7467f946874c2af170d0f504355dd1.zip
llvm-98c89ccfbd7467f946874c2af170d0f504355dd1.tar.gz
llvm-98c89ccfbd7467f946874c2af170d0f504355dd1.tar.bz2
[MSVC] Don't add -nostdinc++ -isystem to runtimes builds
If the host compiler is MSVC or clang-cl, then the compiler used to buidl the runtimes will be clang-cl, and it doesn't support either of those flags. Worse, because -isystem is a space separated flag, it causes all cmake try_compile tests to fail, so none of the -Wno-* flags make it to the compiler in libcxx. I noticed that we weren't passing -Wno-user-defined-literals to clang-cl and were getting warnings in the build, and this fixes that for me. Differential Revision: https://reviews.llvm.org/D94817
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions