From 2edbc97e339064ac1098973e269962492e7d9d3e Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Thu, 24 Mar 2016 00:20:44 +0000 Subject: [PATCH] NFC: clarify comment on lock-free macros Used by both libstdc++ and libc++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264226 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/InitPreprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index 403a5c9ed0..1741755723 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -811,7 +811,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI, // FIXME: This is target-dependent. Builder.defineMacro("__GCC_ATOMIC_TEST_AND_SET_TRUEVAL", "1"); - // Used by libstdc++ to implement ATOMIC__LOCK_FREE. + // Used by libc++ and libstdc++ to implement ATOMIC__LOCK_FREE. unsigned InlineWidthBits = TI.getMaxAtomicInlineWidth(); #define DEFINE_LOCK_FREE_MACRO(TYPE, Type) \ Builder.defineMacro("__GCC_ATOMIC_" #TYPE "_LOCK_FREE", \ -- 2.40.0