[cfe-dev] [libc++] #if defined(_MSC_VER) && !defined(__clang__)
Christiano SA via cfe-dev
cfe-dev at lists.llvm.org
Sun Apr 15 18:39:11 PDT 2018
The line 14 of include/__config has the following code: #if defined(_MSC_VER) && !defined(__clang__) . I know that the compiler clang defines __clang__ and Visual Studio defines _MSC_VER, however, why should it test the __clang__ if it would only be tested if it is being compiled on Visual Studio, which doesn't have __clang__ anyway?
More information about the cfe-dev