[clang] a54b56e - Fix Wdocumentation unknown parameter warning

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 19 05:06:32 PST 2022


Author: Simon Pilgrim
Date: 2022-02-19T13:06:09Z
New Revision: a54b56ecf2e7c35e0bb3e61585a2c27c252069c8

URL: https://github.com/llvm/llvm-project/commit/a54b56ecf2e7c35e0bb3e61585a2c27c252069c8
DIFF: https://github.com/llvm/llvm-project/commit/a54b56ecf2e7c35e0bb3e61585a2c27c252069c8.diff

LOG: Fix Wdocumentation unknown parameter warning

Added: 
    

Modified: 
    clang/lib/Parse/ParseTemplate.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Parse/ParseTemplate.cpp b/clang/lib/Parse/ParseTemplate.cpp
index f875e3bf43e81..0d8ab6ad2fbcd 100644
--- a/clang/lib/Parse/ParseTemplate.cpp
+++ b/clang/lib/Parse/ParseTemplate.cpp
@@ -1233,8 +1233,6 @@ bool Parser::ParseGreaterThanInTemplateList(SourceLocation LAngleLoc,
 /// token that forms the template-id. Otherwise, we will leave the
 /// last token in the stream (e.g., so that it can be replaced with an
 /// annotation token).
-///
-/// \param NameHint is not required, and merely affects code completion.
 bool Parser::ParseTemplateIdAfterTemplateName(bool ConsumeLastToken,
                                               SourceLocation &LAngleLoc,
                                               TemplateArgList &TemplateArgs,


        


More information about the cfe-commits mailing list