[cfe-commits] r147517 - /cfe/trunk/lib/Parse/ParseExprCXX.cpp

Eli Friedman eli.friedman at gmail.com
Tue Jan 3 18:46:54 PST 2012


Author: efriedma
Date: Tue Jan  3 20:46:53 2012
New Revision: 147517

URL: http://llvm.org/viewvc/llvm-project?rev=147517&view=rev
Log:
Fix messed-up indentation in r147515.


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

Modified: cfe/trunk/lib/Parse/ParseExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExprCXX.cpp?rev=147517&r1=147516&r2=147517&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExprCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExprCXX.cpp Tue Jan  3 20:46:53 2012
@@ -793,8 +793,8 @@
                                            TrailingReturnType),
                   Attr, DeclEndLoc);
 
-     // Inform sema that we are starting a block.
-     Actions.ActOnLambdaArguments(D, getCurScope());
+    // Inform sema that we are starting a block.
+    Actions.ActOnLambdaArguments(D, getCurScope());
   }
 
   // Parse compound-statement.
@@ -812,12 +812,12 @@
   StmtResult Stmt(ParseCompoundStatementBody());
   BodyScope.Exit();
 
-   if (!Stmt.isInvalid())
-     return Actions.ActOnLambdaExpr(LambdaBeginLoc, Stmt.take(),
-                                    getCurScope());
+  if (!Stmt.isInvalid())
+    return Actions.ActOnLambdaExpr(LambdaBeginLoc, Stmt.take(),
+                                   getCurScope());
  
-   Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope());
-   return ExprError();
+  Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope());
+  return ExprError();
 }
 
 /// ParseCXXCasts - This handles the various ways to cast expressions to another





More information about the cfe-commits mailing list