]> granicus.if.org Git - clang/commitdiff
remove extraneous braces
authorChris Lattner <sabre@nondot.org>
Mon, 20 Oct 2008 07:36:58 +0000 (07:36 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Oct 2008 07:36:58 +0000 (07:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57814 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/Parser.cpp

index a347bf162a041e77571b2f1fc8680d6c8752dddd..697d0f6f53b79423d8520c3d80e4ee24e337df59 100644 (file)
@@ -697,11 +697,10 @@ Parser::ExprResult Parser::ParseSimpleAsm() {
 
   ExprResult Result = ParseAsmStringLiteral();
 
-  if (Result.isInvalid) {
+  if (Result.isInvalid)
     SkipUntil(tok::r_paren);
-  } else {
+  else
     MatchRHSPunctuation(tok::r_paren, Loc);
-  }
 
   return Result;
 }