]> granicus.if.org Git - clang/commitdiff
Don't repeat the function name in the comment.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 20 Feb 2013 01:17:14 +0000 (01:17 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 20 Feb 2013 01:17:14 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175586 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseDecl.cpp

index cc47ee1d905e491884fe6493234f4359be7bae00..cb013e77f139534369524fd73193620cd7c2a21b 100644 (file)
@@ -1144,10 +1144,10 @@ bool Parser::DiagnoseProhibitedCXX11Attribute() {
   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)) ||