[cfe-commits] r57814 - /cfe/trunk/lib/Parse/Parser.cpp

Chris Lattner sabre at nondot.org
Mon Oct 20 00:36:58 PDT 2008


Author: lattner
Date: Mon Oct 20 02:36:58 2008
New Revision: 57814

URL: http://llvm.org/viewvc/llvm-project?rev=57814&view=rev
Log:
remove extraneous braces

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

Modified: cfe/trunk/lib/Parse/Parser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/Parser.cpp?rev=57814&r1=57813&r2=57814&view=diff

==============================================================================
--- cfe/trunk/lib/Parse/Parser.cpp (original)
+++ cfe/trunk/lib/Parse/Parser.cpp Mon Oct 20 02:36:58 2008
@@ -697,11 +697,10 @@
 
   ExprResult Result = ParseAsmStringLiteral();
 
-  if (Result.isInvalid) {
+  if (Result.isInvalid)
     SkipUntil(tok::r_paren);
-  } else {
+  else
     MatchRHSPunctuation(tok::r_paren, Loc);
-  }
 
   return Result;
 }





More information about the cfe-commits mailing list