summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__config
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-02-06 05:26:49 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-02-06 05:26:49 +0000
commitbcc85cbcde661e8bf02a5e0c385f9aa509a8dc39 (patch)
treee288d8a3385f0e4ff95295b335db1568533fd9ab /libcxx/include/__config
parent5d9ecd23e8b7e84376d8361a49b6e6b923a623f5 (diff)
downloadbcm5719-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/__config2
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
OpenPOWER on IntegriCloud