aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-28 23:47:15 +0000
committerMike Stump <mrs@apple.com>2009-07-28 23:47:15 +0000
commitfd612dbb23cd31c03c898ae53ff18d0dfd8488f9 (patch)
treef3b46939295d2322b85228370c5aeb5e8b0fbeb9 /lib/AST/ASTContext.cpp
parent4d9d51ae3b868268082f94d84d0dff4c0b1ad435 (diff)
Some style fixes, thanks Chris.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r--lib/AST/ASTContext.cpp20
1 files changed, 8 insertions, 12 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp
index d607ca7702..4da20f5a60 100644
--- a/lib/AST/ASTContext.cpp
+++ b/lib/AST/ASTContext.cpp
@@ -3978,27 +3978,23 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context,
if (Type.isNull()) {
Error = ASTContext::GE_Missing_FILE;
return QualType();
- } else {
- break;
}
+ break;
case 'J':
if (Signed) {
Type = Context.getsigjmp_bufType();
if (Type.isNull()) {
Error = ASTContext::GE_Missing_sigjmp_buf;
return QualType();
- } else {
- break;
- }
- } else {
- Type = Context.getjmp_bufType();
- if (Type.isNull()) {
- Error = ASTContext::GE_Missing_jmp_buf;
- return QualType();
- } else {
- break;
}
+ break;
}
+ Type = Context.getjmp_bufType();
+ if (Type.isNull()) {
+ Error = ASTContext::GE_Missing_jmp_buf;
+ return QualType();
+ }
+ break;
}
if (!AllowTypeModifiers)