[libcxx-commits] [PATCH] D125629: [libc++] Adds __format_string as nasty macro.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 15 06:19:27 PDT 2022


Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Both D121530 <https://reviews.llvm.org/D121530> and D125606 <https://reviews.llvm.org/D125606> had issues with this macro.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125629

Files:
  libcxx/test/libcxx/nasty_macros.compile.pass.cpp


Index: libcxx/test/libcxx/nasty_macros.compile.pass.cpp
===================================================================
--- libcxx/test/libcxx/nasty_macros.compile.pass.cpp
+++ libcxx/test/libcxx/nasty_macros.compile.pass.cpp
@@ -81,6 +81,7 @@
 # define __bound NASTY_MACRO
 # define __deallocate NASTY_MACRO
 # define __deref NASTY_MACRO
+# define __format_string NASTY_MACRO
 # define __full NASTY_MACRO
 # define __in NASTY_MACRO
 # define __inout NASTY_MACRO


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125629.429533.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220515/f20802b8/attachment.bin>


More information about the libcxx-commits mailing list