diff options
Diffstat (limited to 'include/clang/Lex/MacroInfo.h')
-rw-r--r-- | include/clang/Lex/MacroInfo.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/clang/Lex/MacroInfo.h b/include/clang/Lex/MacroInfo.h index 8775d39..cbd201f 100644 --- a/include/clang/Lex/MacroInfo.h +++ b/include/clang/Lex/MacroInfo.h @@ -22,7 +22,7 @@ namespace clang { class Preprocessor; -/// MacroInfo - Each identifier that is #define'd has an instance of this class +/// MacroInfo - Each identifier that is \#define'd has an instance of this class /// associated with it, used to implement macro expansion. class MacroInfo { //===--------------------------------------------------------------------===// @@ -35,7 +35,7 @@ class MacroInfo { /// Arguments - The list of arguments for a function-like macro. This can be /// empty, for, e.g. "#define X()". In a C99-style variadic macro, this - /// includes the __VA_ARGS__ identifier on the list. + /// includes the \c __VA_ARGS__ identifier on the list. IdentifierInfo **ArgumentList; unsigned NumArguments; @@ -45,15 +45,14 @@ class MacroInfo { /// If invalid, this macro has not been explicitly given any visibility. SourceLocation VisibilityLocation; - /// ReplacementTokens - This is the list of tokens that the macro is defined - /// to. + /// \brief This is the list of tokens that the macro is defined to. SmallVector<Token, 8> ReplacementTokens; /// \brief Length in characters of the macro definition. mutable unsigned DefinitionLength; mutable bool IsDefinitionLengthCached : 1; - /// IsFunctionLike - True if this macro is a function-like macro, false if it + /// \brief True if this macro is a function-like macro, false if it /// is an object-like macro. bool IsFunctionLike : 1; @@ -71,7 +70,7 @@ class MacroInfo { /// it has not yet been redefined or undefined. bool IsBuiltinMacro : 1; - /// IsFromAST - True if this macro was loaded from an AST file. + /// \brief True if this macro was loaded from an AST file. bool IsFromAST : 1; /// \brief Whether this macro changed after it was loaded from an AST file. @@ -82,8 +81,8 @@ private: // State that changes as the macro is used. /// IsDisabled - True if we have started an expansion of this macro already. - /// This disbles recursive expansion, which would be quite bad for things like - /// #define A A. + /// This disables recursive expansion, which would be quite bad for things + /// like \#define A A. bool IsDisabled : 1; /// IsUsed - True if this macro is either defined in the main file and has |