[libcxx-commits] [libcxx] fd3a526 - [libc++][nfc] Add more nasty macros.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 3 09:23:01 PDT 2021
Author: Mark de Wever
Date: 2021-06-03T18:22:52+02:00
New Revision: fd3a5260852aad1e0d7f997f57ecb75a6be9a7ab
URL: https://github.com/llvm/llvm-project/commit/fd3a5260852aad1e0d7f997f57ecb75a6be9a7ab
DIFF: https://github.com/llvm/llvm-project/commit/fd3a5260852aad1e0d7f997f57ecb75a6be9a7ab.diff
LOG: [libc++][nfc] Add more nasty macros.
D101613 added some macros used by Microsofts SAL. D103425 uses `__pre`
and `__post`. They are also used by SAL and cause issues when used on
Windows. Add them to the blacklist making it easier to figure out what
the issue is.
Differential Revision: https://reviews.llvm.org/D103541
Added:
Modified:
libcxx/test/support/nasty_macros.h
Removed:
################################################################################
diff --git a/libcxx/test/support/nasty_macros.h b/libcxx/test/support/nasty_macros.h
index f9e8cc694eba0..145930d0fc15b 100644
--- a/libcxx/test/support/nasty_macros.h
+++ b/libcxx/test/support/nasty_macros.h
@@ -63,6 +63,8 @@
#define __nz NASTY_MACRO
#define __out NASTY_MACRO
#define __part NASTY_MACRO
+#define __post NASTY_MACRO
+#define __pre NASTY_MACRO
#endif
#define __output NASTY_MACRO
More information about the libcxx-commits
mailing list