llvm.org GIT mirror llvm / c088edc
Delete dead code introduced in r347354. ParentTy is never used other than an assignment, and since it is a pointer, there is no side effect. Some versions of GCC notice and warn on this. Change-Id: I37dc1a18c7b58040419afb803621de13d8904a8f git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347581 91177308-0d34-0410-b5e6-96231b3b80d8 Erich Keane 11 months ago
1 changed file(s) with 0 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
24592459 // so that the TypeIndex for the this pointer can be shared with the type
24602460 // index for other pointers to this class type. If there is a ref qualifier
24612461 // then we lookup the pointer using the subroutine as the parent type.
2462 const DIType *ParentTy = nullptr;
2463 if (Options != PointerOptions::None)
2464 ParentTy = SubroutineTy;
24662462 auto I = TypeIndices.find({Ty, SubroutineTy});
24672463 if (I != TypeIndices.end())
24682464 return I->second;