Removing unnecessary casts; NFC.

llvm-svn: 259194
This commit is contained in:
Aaron Ballman 2016-01-29 13:53:26 +00:00
parent 7d00f97048
commit 865a7d8aab
1 changed files with 2 additions and 2 deletions

View File

@ -1406,9 +1406,9 @@ void BlockDataRegion::LazyInitializeReferencedVars() {
BumpVectorContext BC(A);
typedef BumpVector<const MemRegion*> VarVec;
VarVec *BV = (VarVec*) A.Allocate<VarVec>();
VarVec *BV = A.Allocate<VarVec>();
new (BV) VarVec(BC, NumBlockVars);
VarVec *BVOriginal = (VarVec*) A.Allocate<VarVec>();
VarVec *BVOriginal = A.Allocate<VarVec>();
new (BVOriginal) VarVec(BC, NumBlockVars);
for (const VarDecl *VD : ReferencedBlockVars) {