summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-30 22:28:39 +0000
committerMike Stump <mrs@apple.com>2009-07-30 22:28:39 +0000
commitb3589f44c5d295cd41de2c83f3475116835eeebd (patch)
tree9c26182dde2d8018183b31cfcf3d86e8a532f9b9 /lib/CodeGen/CGExprScalar.cpp
parent636463e4c43be15e2f0fd0b8a08667f3066d8af7 (diff)
downloadclang-b3589f44c5d295cd41de2c83f3475116835eeebd.tar.gz
clang-b3589f44c5d295cd41de2c83f3475116835eeebd.tar.bz2
clang-b3589f44c5d295cd41de2c83f3475116835eeebd.tar.xz
Canonicalize else spacing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
-rw-r--r--lib/CodeGen/CGExprScalar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp
index 64261dde6f..59f5c83e30 100644
--- a/lib/CodeGen/CGExprScalar.cpp
+++ b/lib/CodeGen/CGExprScalar.cpp
@@ -714,8 +714,7 @@ Value *ScalarExprEmitter::VisitPrePostIncDec(const UnaryOperator *E,
lhs = Builder.CreateBitCast(lhs, llvm::PointerType::getUnqual(i8Ty));
LV = LValue::MakeAddr(lhs, ValTy.getCVRQualifiers(),
CGF.getContext().getObjCGCAttrKind(ValTy));
- }
- else
+ } else
NextVal = Builder.CreateGEP(InVal, Inc, "ptrincdec");
} else {
const llvm::Type *i8Ty =