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 | a58b3af8027c6780e4aba35f76419b4eca81449a (patch) | |
tree | 6af06c4faf8ac661ad72ff659580c72921b58b2b | |
parent | fdbad74423ab613045873f62aa842fd515c83790 (diff) | |
download | bcm5719-llvm-a58b3af8027c6780e4aba35f76419b4eca81449a.tar.gz bcm5719-llvm-a58b3af8027c6780e4aba35f76419b4eca81449a.zip |
remove extraneous braces
llvm-svn: 77386
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index ce58eeef449..06835cb5ce8 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/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; |