r192204 - Fixed grammar. Thanks to Jordan Rose.
Serge Pavlov
sepavloff at gmail.com
Tue Oct 8 10:09:03 PDT 2013
Author: sepavloff
Date: Tue Oct 8 12:09:03 2013
New Revision: 192204
URL: http://llvm.org/viewvc/llvm-project?rev=192204&view=rev
Log:
Fixed grammar. Thanks to Jordan Rose.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
cfe/trunk/lib/Parse/ParseExpr.cpp
Modified: cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td?rev=192204&r1=192203&r2=192204&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td Tue Oct 8 12:09:03 2013
@@ -310,8 +310,8 @@ def err_unspecified_vla_size_with_static
def warn_deprecated_register : Warning<
"'register' storage class specifier is deprecated">,
InGroup<DeprecatedRegister>;
-def err_missed_parenthesis_around_typename : Error<
- "missed parenthesis around the type name in %0">;
+def err_missed_parentheses_around_typename : Error<
+ "missed parentheses around type name in %0">;
def err_expected_case_before_expression: Error<
"expected 'case' keyword before expression">;
Modified: cfe/trunk/lib/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExpr.cpp?rev=192204&r1=192203&r2=192204&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExpr.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExpr.cpp Tue Oct 8 12:09:03 2013
@@ -1602,7 +1602,7 @@ Parser::ParseExprAfterUnaryExprOrTypeTra
SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation());
SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation);
- Diag(LParenLoc, diag::err_missed_parenthesis_around_typename)
+ Diag(LParenLoc, diag::err_missed_parentheses_around_typename)
<< OpTok.getName()
<< FixItHint::CreateInsertion(LParenLoc, "(")
<< FixItHint::CreateInsertion(RParenLoc, ")");
More information about the cfe-commits
mailing list