r325468 - [Analyzer] Move UnexploredFirstStack into an anonymous namespace.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 18 11:08:27 PST 2018
Author: d0k
Date: Sun Feb 18 11:08:27 2018
New Revision: 325468
URL: http://llvm.org/viewvc/llvm-project?rev=325468&view=rev
Log:
[Analyzer] Move UnexploredFirstStack into an anonymous namespace.
No functionality change intended.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp?rev=325468&r1=325467&r2=325468&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/CoreEngine.cpp Sun Feb 18 11:08:27 2018
@@ -132,6 +132,7 @@ std::unique_ptr<WorkList> WorkList::make
return llvm::make_unique<BFSBlockDFSContents>();
}
+namespace {
class UnexploredFirstStack : public WorkList {
/// 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() {
return llvm::make_unique<UnexploredFirstStack>();
More information about the cfe-commits
mailing list