Use generic feature name for sanitizers that replace new and delete

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2015-03-10 20:46:04 +00:00
parent c6c1a1ee75
commit 07a4bec1dd
36 changed files with 39 additions and 35 deletions

View File

@@ -10,7 +10,8 @@
#endif
#if __has_feature(address_sanitizer) \
|| __has_feature(memory_sanitizer)
|| __has_feature(memory_sanitizer) \
|| __has_feature(thread_sanitizer)
#define DISABLE_NEW_COUNT
#endif