]> granicus.if.org Git - clang/commit
s/LLVM_ON_WIN32/_WIN32/, clang
authorNico Weber <nicolasweber@gmx.de>
Fri, 27 Apr 2018 19:11:14 +0000 (19:11 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 27 Apr 2018 19:11:14 +0000 (19:11 +0000)
commit3ffe6de5f1d998c5c443d459501b8304c9c75ad6
treeb82f63b142ca3858e6eb3146da462fcd48b45a93
parent38b6bf084ebd78ba346e69fbcebe3acf2770ede5
s/LLVM_ON_WIN32/_WIN32/, clang

LLVM_ON_WIN32 is set exactly with MSVC and MinGW (but not Cygwin) in
HandleLLVMOptions.cmake, which is where _WIN32 defined too.  Just use the
default macro instead of a reinvented one.

See thread "Replacing LLVM_ON_WIN32 with just _WIN32" on llvm-dev and cfe-dev.
No intended behavior change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331069 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
examples/clang-interpreter/Manager.h
lib/Basic/FileManager.cpp
lib/Basic/VirtualFileSystem.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains/CommonArgs.cpp
lib/Driver/ToolChains/MSVC.cpp
lib/Driver/ToolChains/PS4CPU.cpp
lib/Frontend/InitHeaderSearch.cpp
lib/Frontend/PrecompiledPreamble.cpp
lib/Lex/PPDirectives.cpp
tools/driver/driver.cpp
tools/libclang/CIndex.cpp
tools/libclang/CIndexer.cpp
unittests/ASTMatchers/ASTMatchersInternalTest.cpp
unittests/Basic/FileManagerTest.cpp
unittests/Driver/ToolChainTest.cpp
unittests/Tooling/RefactoringTest.cpp
unittests/Tooling/ToolingTest.cpp