Skip to content

Commit 9ece53a

Browse files
adjust comment
1 parent 2b37803 commit 9ece53a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/utils/HdrGen/PublicAPICommand.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ static void emitAttributeMacroDecls(const AttributeMap &MacroAttr,
123123
// 1. If __cplusplus is defined and cxx11 style is provided, define the
124124
// macro using cxx11 version with the following priority:
125125
// 1a. If there is no namespace (so the macro is supposed to be
126-
// compiler-independent),
127-
// use this version first.
126+
// compiler-independent), use this version first. This macro will be
127+
// tested via __has_cpp_attribute.
128128
// 1b. If the attribute is a clang attribute, check for __clang__.
129129
// 1c. If the attribute is a gnu attribute, check for __GNUC__.
130130
// 2. Otherwise, if __GNUC__ is defined and gnu

0 commit comments

Comments
 (0)