]> granicus.if.org Git - clang/commitdiff
get rid of extra parentheses.
authorAdrian Prantl <aprantl@apple.com>
Wed, 18 Sep 2013 22:18:17 +0000 (22:18 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 18 Sep 2013 22:18:17 +0000 (22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190962 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index 23b73a31f0385529eb8fac565126fd15d5a85513..eebafe40bb0aa602d74fceb5c700b4e1c419d752 100644 (file)
@@ -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.