diff options
author | Mike Stump <mrs@apple.com> | 2009-07-30 22:28:39 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-30 22:28:39 +0000 |
commit | 658fe02d17e28b113df2a381010e9c5296abfd0f (patch) | |
tree | 95aa22603d604c7a71ee43568e405030c1c49236 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 59a2ab972034dd734bd970dc0f10a0df3c8f5dfc (diff) | |
download | bcm5719-llvm-658fe02d17e28b113df2a381010e9c5296abfd0f.tar.gz bcm5719-llvm-658fe02d17e28b113df2a381010e9c5296abfd0f.zip |
Canonicalize else spacing.
llvm-svn: 77629
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 3c3814c70d3..b552da679e9 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -329,8 +329,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) { DI->setLocation(D.getLocation()); if (Target.useGlobalsForAutomaticVariables()) { DI->EmitGlobalVariable(static_cast<llvm::GlobalVariable *>(DeclPtr), &D); - } - else if (isByRef) { + } else if (isByRef) { llvm::Value *Loc; bool needsCopyDispose = BlockRequiresCopying(Ty); Loc = Builder.CreateStructGEP(DeclPtr, 1, "forwarding"); |