NFC: clarify comment on lock-free macros

Used by both libstdc++ and libc++.

llvm-svn: 264226
This commit is contained in:
JF Bastien 2016-03-24 00:20:44 +00:00
parent 0110890a79
commit f828bba5bf
1 changed files with 1 additions and 1 deletions

View File

@ -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_<foo>_LOCK_FREE.
// Used by libc++ and libstdc++ to implement ATOMIC_<foo>_LOCK_FREE.
unsigned InlineWidthBits = TI.getMaxAtomicInlineWidth();
#define DEFINE_LOCK_FREE_MACRO(TYPE, Type) \
Builder.defineMacro("__GCC_ATOMIC_" #TYPE "_LOCK_FREE", \