From: Simon Pilgrim Date: Wed, 22 Aug 2018 10:08:53 +0000 (+0000) Subject: Fix Wdocumentation warnings. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff09bf0a1c88bcabb207749e17dec66c75361f3c;p=clang Fix Wdocumentation warnings. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340394 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Lexer.h b/include/clang/Lex/Lexer.h index 0fb874585a..7af9d43b3f 100644 --- a/include/clang/Lex/Lexer.h +++ b/include/clang/Lex/Lexer.h @@ -711,16 +711,15 @@ private: bool isHexaLiteral(const char *Start, const LangOptions &LangOpts); - /// Read a universal character name. /// - /// \param CurPtr The position in the source buffer after the initial '\'. - /// If the UCN is syntactically well-formed (but not necessarily - /// valid), this parameter will be updated to point to the - /// character after the UCN. + /// \param StartPtr The position in the source buffer after the initial '\'. + /// If the UCN is syntactically well-formed (but not + /// necessarily valid), this parameter will be updated to + /// point to the character after the UCN. /// \param SlashLoc The position in the source buffer of the '\'. - /// \param Tok The token being formed. Pass \c nullptr to suppress diagnostics - /// and handle token formation in the caller. + /// \param Result The token being formed. Pass \c nullptr to suppress + /// diagnostics and handle token formation in the caller. /// /// \return The Unicode codepoint specified by the UCN, or 0 if the UCN is /// invalid. diff --git a/include/clang/Lex/TokenLexer.h b/include/clang/Lex/TokenLexer.h index 992ef3880f..6aae9eec7b 100644 --- a/include/clang/Lex/TokenLexer.h +++ b/include/clang/Lex/TokenLexer.h @@ -191,7 +191,7 @@ private: /// them into a string. \p VCtx is used to determine which token represents /// the first __VA_OPT__ replacement token. /// - /// \param[in,out] ReplacementToks - Contains the current Replacement Tokens + /// \param[in,out] ResultToks - Contains the current Replacement Tokens /// (prior to rescanning and token pasting), the tail end of which represents /// the tokens just expanded through __VA_OPT__ processing. These (sub) /// sequence of tokens are folded into one stringified token.