r175586 - Don't repeat the function name in the comment.

Richard Smith richard-llvm at metafoo.co.uk
Tue Feb 19 17:17:14 PST 2013


Author: rsmith
Date: Tue Feb 19 19:17:14 2013
New Revision: 175586

URL: http://llvm.org/viewvc/llvm-project?rev=175586&view=rev
Log:
Don't repeat the function name in the comment.

Modified:
    cfe/trunk/lib/Parse/ParseDecl.cpp

Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=175586&r1=175585&r2=175586&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Tue Feb 19 19:17:14 2013
@@ -1144,10 +1144,10 @@ bool Parser::DiagnoseProhibitedCXX11Attr
   llvm_unreachable("All cases handled above.");
 }
 
-/// DiagnoseMisplacedCXX11Attribute - We have found the opening square brackets
-/// of a C++11 attribute-specifier in a location where an attribute is not
-/// permitted, but we know where the attributes ought to be written. Parse them
-/// anyway, and provide a fixit moving them to the right place.
+/// \brief We have found the opening square brackets of a C++11
+/// attribute-specifier in a location where an attribute is not permitted, but
+/// we know where the attributes ought to be written. Parse them anyway, and
+/// provide a fixit moving them to the right place.
 void Parser::DiagnoseMisplacedCXX11Attribute(ParsedAttributesWithRange &Attrs,
                                              SourceLocation CorrectLocation) {
   assert((Tok.is(tok::l_square) && NextToken().is(tok::l_square)) ||





More information about the cfe-commits mailing list