diff --git a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp index 4b57419fd8c9..16a7a767177a 100644 --- a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp @@ -132,6 +132,7 @@ std::unique_ptr WorkList::makeBFSBlockDFSContents() { return llvm::make_unique(); } +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::makeUnexploredFirst() { return llvm::make_unique();