remove extraneous braces
authorChris Lattner <sabre@nondot.org>
Tue, 28 Jul 2009 22:49:34 +0000 (22:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Jul 2009 22:49:34 +0000 (22:49 +0000)
llvm-svn: 77386

clang/lib/AST/ASTContext.cpp

index ce58eee..06835cb 100644 (file)
@@ -3894,7 +3894,6 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context,
     break;
   case 'V': {
     char *End;
-    
     unsigned NumElements = strtoul(Str, &End, 10);
     assert(End != Str && "Missing vector size");
     
@@ -3904,7 +3903,7 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context,
     Type = Context.getVectorType(ElementType, NumElements);
     break;
   }
-  case 'P': {
+  case 'P':
     Type = Context.getFILEType();
     if (Type.isNull()) {
       Error = ASTContext::GE_Missing_FILE;
@@ -3912,8 +3911,7 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context,
     } else {
       break;
     }
-  }
-  case 'J': {
+  case 'J':
     if (Signed) {
       Type = Context.getsigjmp_bufType();
       if (Type.isNull()) {
@@ -3932,7 +3930,6 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context,
       }
     }
   }
-  }
   
   if (!AllowTypeModifiers)
     return Type;