]> granicus.if.org Git - clang/commitdiff
[Analyzer] Move UnexploredFirstStack into an anonymous namespace.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 18 Feb 2018 19:08:27 +0000 (19:08 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 18 Feb 2018 19:08:27 +0000 (19:08 +0000)
No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325468 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/CoreEngine.cpp

index 4b57419fd8c97650e26ce59c48a85a9e056a6ce3..16a7a767177a5b53c88ca2ddf6b6dc7baa68c2a3 100644 (file)
@@ -132,6 +132,7 @@ std::unique_ptr<WorkList> WorkList::makeBFSBlockDFSContents() {
   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>();