forked from OSchip/llvm-project
Thread safety analysis: Remove unused variable. NFC.
This commit is contained in:
parent
a1e7f62801
commit
4c7de4fbda
|
@ -418,7 +418,6 @@ public:
|
|||
private:
|
||||
Context::Factory ContextFactory;
|
||||
std::vector<VarDefinition> VarDefinitions;
|
||||
std::vector<unsigned> CtxIndices;
|
||||
std::vector<std::pair<const Stmt *, Context>> SavedContexts;
|
||||
|
||||
public:
|
||||
|
@ -731,8 +730,6 @@ void LocalVariableMap::traverseCFG(CFG *CFGraph,
|
|||
std::vector<CFGBlockInfo> &BlockInfo) {
|
||||
PostOrderCFGView::CFGBlockSet VisitedBlocks(CFGraph);
|
||||
|
||||
CtxIndices.resize(CFGraph->getNumBlockIDs());
|
||||
|
||||
for (const auto *CurrBlock : *SortedGraph) {
|
||||
unsigned CurrBlockID = CurrBlock->getBlockID();
|
||||
CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlockID];
|
||||
|
|
Loading…
Reference in New Issue