diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-20 01:17:14 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-20 01:17:14 +0000 |
commit | 975d52c759a0da21461668bac840bb5d21061d1b (patch) | |
tree | 6dd8b4faebef71405caaa8a522cf624e111b82c7 /lib/Parse/ParseDecl.cpp | |
parent | 9818a1d443e97677dd3422305de9cc2b1fb2a8c1 (diff) |
Don't repeat the function name in the comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index cc47ee1d90..cb013e77f1 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -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)) || |