forked from OSchip/llvm-project
NFC: clarify comment on lock-free macros
Used by both libstdc++ and libc++. llvm-svn: 264226
This commit is contained in:
parent
0110890a79
commit
f828bba5bf
|
@ -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", \
|
||||
|
|
Loading…
Reference in New Issue