r340394 - Fix Wdocumentation warnings. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 22 03:08:54 PDT 2018
Author: rksimon
Date: Wed Aug 22 03:08:53 2018
New Revision: 340394
URL: http://llvm.org/viewvc/llvm-project?rev=340394&view=rev
Log:
Fix Wdocumentation warnings. NFCI.
Modified:
cfe/trunk/include/clang/Lex/Lexer.h
cfe/trunk/include/clang/Lex/TokenLexer.h
Modified: cfe/trunk/include/clang/Lex/Lexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Lexer.h?rev=340394&r1=340393&r2=340394&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Lexer.h (original)
+++ cfe/trunk/include/clang/Lex/Lexer.h Wed Aug 22 03:08:53 2018
@@ -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.
Modified: cfe/trunk/include/clang/Lex/TokenLexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/TokenLexer.h?rev=340394&r1=340393&r2=340394&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/TokenLexer.h (original)
+++ cfe/trunk/include/clang/Lex/TokenLexer.h Wed Aug 22 03:08:53 2018
@@ -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.
More information about the cfe-commits
mailing list