Thread Safety Analysis: remove minor piece of unused code. No change in

functionality.

llvm-svn: 228176
This commit is contained in:
DeLesley Hutchins 2015-02-04 19:28:17 +00:00
parent c46945149c
commit dfa9032f64
1 changed files with 0 additions and 4 deletions

View File

@ -1797,10 +1797,6 @@ void BuildLockset::handleCall(Expr *Exp, const NamedDecl *D, VarDecl *VD) {
DeclRefExpr DRE(VD, false, VD->getType(), VK_LValue, VD->getLocation());
// FIXME: does this store a pointer to DRE?
CapabilityExpr Scp = Analyzer->SxBuilder.translateAttrExpr(&DRE, nullptr);
CapExprSet UnderlyingMutexes(ExclusiveLocksToAdd);
std::copy(SharedLocksToAdd.begin(), SharedLocksToAdd.end(),
std::back_inserter(UnderlyingMutexes));
Analyzer->addLock(FSet,
llvm::make_unique<ScopedLockableFactEntry>(
Scp, MLoc, ExclusiveLocksToAdd, SharedLocksToAdd),