forked from OSchip/llvm-project
[Sanitizers][Darwin] Remove SANITIZER_MAC
This is to finish the change started by D125816 , D126263 and D126577 (replace SANITIZER_MAC by SANITIZER_APPLE). Dropping definition of SANITIZER_MAC completely, to remove any possible confusion. Differential Revision: https://reviews.llvm.org/D129502
This commit is contained in:
parent
f6b0ae144e
commit
af0a26b476
|
@ -64,9 +64,6 @@
|
||||||
// - SANITIZER_DRIVERKIT
|
// - SANITIZER_DRIVERKIT
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
# define SANITIZER_APPLE 1
|
# define SANITIZER_APPLE 1
|
||||||
// SANITIZER_MAC will be deprecated/removed in the future
|
|
||||||
# define SANITIZER_MAC \
|
|
||||||
error "SANITIZER_MAC will be removed, please use SANITIZER_APPLE"
|
|
||||||
# include <TargetConditionals.h>
|
# include <TargetConditionals.h>
|
||||||
# if TARGET_OS_OSX
|
# if TARGET_OS_OSX
|
||||||
# define SANITIZER_OSX 1
|
# define SANITIZER_OSX 1
|
||||||
|
@ -100,8 +97,6 @@
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define SANITIZER_APPLE 0
|
# define SANITIZER_APPLE 0
|
||||||
# define SANITIZER_MAC \
|
|
||||||
error "SANITIZER_MAC will be removed, please use SANITIZER_APPLE"
|
|
||||||
# define SANITIZER_OSX 0
|
# define SANITIZER_OSX 0
|
||||||
# define SANITIZER_IOS 0
|
# define SANITIZER_IOS 0
|
||||||
# define SANITIZER_WATCHOS 0
|
# define SANITIZER_WATCHOS 0
|
||||||
|
|
Loading…
Reference in New Issue