diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-06 05:26:49 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-02-06 05:26:49 +0000 |
| commit | bcc85cbcde661e8bf02a5e0c385f9aa509a8dc39 (patch) | |
| tree | e288d8a3385f0e4ff95295b335db1568533fd9ab /libcxx/include/__config | |
| parent | 5d9ecd23e8b7e84376d8361a49b6e6b923a623f5 (diff) | |
| download | bcm5719-llvm-bcc85cbcde661e8bf02a5e0c385f9aa509a8dc39.tar.gz bcm5719-llvm-bcc85cbcde661e8bf02a5e0c385f9aa509a8dc39.zip | |
Refer to _LIBCPP_MSVC macro where applicable
Replace preprocess conditions of defined(_MSC_VER) &&
!defined(__clang__) with defined(_LIBCPP_MSVC). NFC.
Patch by Dave Lee!
llvm-svn: 294171
Diffstat (limited to 'libcxx/include/__config')
| -rw-r--r-- | libcxx/include/__config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index a70f8f0060f..10de952e7c3 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -929,7 +929,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container( # if defined(__GNUC__) && ((__GNUC__ >= 5) || (__GNUC__ == 4 && \ (__GNUC_MINOR__ >= 3 || __GNUC_PATCHLEVEL__ >= 2))) && !defined(__GXX_RTTI) # define _LIBCPP_NO_RTTI -# elif (defined(_MSC_VER) && !defined(__clang__)) && !defined(_CPPRTTI) +# elif defined(_LIBCPP_MSVC) && !defined(_CPPRTTI) # define _LIBCPP_NO_RTTI # endif #endif |

