diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-28 22:49:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-28 22:49:34 +0000 |
commit | 9a5a7e7351f78345a72c4956af25590f6d40ebcd (patch) | |
tree | 992357b20a779f039e7cb81d705d87d1fa3c5347 | |
parent | 5692586ae59be8d49edd7b45dd52c1ffa920ba5e (diff) |
remove extraneous braces
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77386 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/ASTContext.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index ce58eeef44..06835cb5ce 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -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; |