]> granicus.if.org Git - clang/commitdiff
Fix Wdocumentation warnings. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 22 Aug 2018 10:08:53 +0000 (10:08 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 22 Aug 2018 10:08:53 +0000 (10:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340394 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Lexer.h
include/clang/Lex/TokenLexer.h

index 0fb874585af979b69e366f80c7fec7a145660b95..7af9d43b3f54bf11cd70b5b29e4a150ffb4817b5 100644 (file)
@@ -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.
index 992ef3880f4bf2139b7ee61c9aa40a0ec36bde88..6aae9eec7bfa5b2354ff90319f182d43f8a737d7 100644 (file)
@@ -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.