forked from OSchip/llvm-project
[Analyzer] Move UnexploredFirstStack into an anonymous namespace.
No functionality change intended. llvm-svn: 325468
This commit is contained in:
parent
f8c99297d3
commit
690ac0f3e0
|
@ -132,6 +132,7 @@ std::unique_ptr<WorkList> WorkList::makeBFSBlockDFSContents() {
|
||||||
return llvm::make_unique<BFSBlockDFSContents>();
|
return llvm::make_unique<BFSBlockDFSContents>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace {
|
||||||
class UnexploredFirstStack : public WorkList {
|
class UnexploredFirstStack : public WorkList {
|
||||||
|
|
||||||
/// Stack of nodes known to have statements we have not traversed yet.
|
/// Stack of nodes known to have statements we have not traversed yet.
|
||||||
|
@ -185,6 +186,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
} // end anonymous namespace
|
||||||
|
|
||||||
std::unique_ptr<WorkList> WorkList::makeUnexploredFirst() {
|
std::unique_ptr<WorkList> WorkList::makeUnexploredFirst() {
|
||||||
return llvm::make_unique<UnexploredFirstStack>();
|
return llvm::make_unique<UnexploredFirstStack>();
|
||||||
|
|
Loading…
Reference in New Issue