[cfe-commits] r42596 - /cfe/trunk/Parse/ParseExpr.cpp
Chris Lattner
sabre at nondot.org
Wed Oct 3 15:03:06 PDT 2007
Author: lattner
Date: Wed Oct 3 17:03:06 2007
New Revision: 42596
URL: http://llvm.org/viewvc/llvm-project?rev=42596&view=rev
Log:
minor cleanup
Modified:
cfe/trunk/Parse/ParseExpr.cpp
Modified: cfe/trunk/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Parse/ParseExpr.cpp?rev=42596&r1=42595&r2=42596&view=diff
==============================================================================
--- cfe/trunk/Parse/ParseExpr.cpp (original)
+++ cfe/trunk/Parse/ParseExpr.cpp Wed Oct 3 17:03:06 2007
@@ -174,8 +174,8 @@
/// This routine is called when the '@' is seen and consumed.
/// Current token is an Identifier and is not a 'try'. This
-/// routine is necessary to disambiguate @try-statement from
-/// ,for example, @encode-expression.
+/// routine is necessary to disambiguate @try-statement from,
+/// for example, @encode-expression.
///
Parser::ExprResult Parser::ParseExpressionWithLeadingAt(SourceLocation &AtLoc) {
ExprResult LHS = ParseObjCExpression(AtLoc);
@@ -600,13 +600,12 @@
case tok::kw_reinterpret_cast:
case tok::kw_static_cast:
return ParseCXXCasts();
- case tok::at:
- {
- SourceLocation AtLoc = ConsumeToken();
- return ParseObjCExpression(AtLoc);
- }
+ case tok::at: {
+ SourceLocation AtLoc = ConsumeToken();
+ return ParseObjCExpression(AtLoc);
+ }
case tok::l_square:
- return ParseObjCMessageExpression ();
+ return ParseObjCMessageExpression();
default:
Diag(Tok, diag::err_expected_expression);
return ExprResult(true);
More information about the cfe-commits
mailing list