[libcxx-commits] [libcxx] 4cb184c - [libc++] Adds __format_string as nasty macro.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sun May 29 06:32:17 PDT 2022
Author: Mark de Wever
Date: 2022-05-29T15:32:11+02:00
New Revision: 4cb184ce1c53f6e355d328390a9ec2d36da6e880
URL: https://github.com/llvm/llvm-project/commit/4cb184ce1c53f6e355d328390a9ec2d36da6e880
DIFF: https://github.com/llvm/llvm-project/commit/4cb184ce1c53f6e355d328390a9ec2d36da6e880.diff
LOG: [libc++] Adds __format_string as nasty macro.
Both D121530 and D125606 had issues with this macro.
Reviewed By: #libc, philnik
Differential Revision: https://reviews.llvm.org/D125629
Added:
Modified:
libcxx/test/libcxx/nasty_macros.compile.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/nasty_macros.compile.pass.cpp b/libcxx/test/libcxx/nasty_macros.compile.pass.cpp
index f6e04d2dbd75b..0874deeec9d45 100644
--- a/libcxx/test/libcxx/nasty_macros.compile.pass.cpp
+++ b/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
More information about the libcxx-commits
mailing list