summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-09-18 22:18:17 +0000
committerAdrian Prantl <aprantl@apple.com>2013-09-18 22:18:17 +0000
commit7f2ef22452a8f9709156b8e7fad5b4fa86420a7a (patch)
treee7e6d0869102df9eec875f46a5b32552da01b98e /clang/lib/CodeGen
parent262bcf4584ae3e03d2d61be91e5c21fcbb39591e (diff)
downloadbcm5719-llvm-7f2ef22452a8f9709156b8e7fad5b4fa86420a7a.tar.gz
bcm5719-llvm-7f2ef22452a8f9709156b8e7fad5b4fa86420a7a.zip
get rid of extra parentheses.
llvm-svn: 190962
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 23b73a31f03..eebafe40bb0 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -2747,9 +2747,8 @@ void CGDebugInfo::EmitDeclare(const VarDecl *VD, unsigned Tag,
DBuilder.insertDeclare(Storage, D, Builder.GetInsertBlock());
Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
return;
- } else if (isa<VariableArrayType>(VD->getType())) {
+ } else if (isa<VariableArrayType>(VD->getType()))
Flags |= llvm::DIDescriptor::FlagIndirectVariable;
- }
} else if (const RecordType *RT = dyn_cast<RecordType>(VD->getType())) {
// If VD is an anonymous union then Storage represents value for
// all union fields.
OpenPOWER on IntegriCloud