[libcxx-commits] [PATCH] D103541: [libc++][nfc] Add more nasty macros.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 2 11:00:32 PDT 2021
Mordante created this revision.
Mordante added reviewers: cjdb, curdeius, mstorsjo, Quuxplusone.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
D101613 <https://reviews.llvm.org/D101613> added some macros used by Microsofts SAL. D103425 <https://reviews.llvm.org/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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103541
Files:
libcxx/test/support/nasty_macros.h
Index: libcxx/test/support/nasty_macros.h
===================================================================
--- libcxx/test/support/nasty_macros.h
+++ libcxx/test/support/nasty_macros.h
@@ -63,6 +63,8 @@
#define __nz NASTY_MACRO
#define __out NASTY_MACRO
#define __part NASTY_MACRO
+#define __pre NASTY_MACRO
+#define __post NASTY_MACRO
#endif
#define __output NASTY_MACRO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103541.349328.patch
Type: text/x-patch
Size: 382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210602/f8399b3a/attachment.bin>
More information about the libcxx-commits
mailing list