Skip to content

Commit

Permalink
[Analyzer] Move UnexploredFirstStack into an anonymous namespace.
Browse files Browse the repository at this point in the history
No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325468 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
d0k committed Feb 18, 2018
1 parent 4bc099f commit eca4573
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/StaticAnalyzer/Core/CoreEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -185,6 +186,7 @@ class UnexploredFirstStack : public WorkList {
}
}
};
} // end anonymous namespace

std::unique_ptr<WorkList> WorkList::makeUnexploredFirst() {
return llvm::make_unique<UnexploredFirstStack>();
Expand Down

0 comments on commit eca4573

Please sign in to comment.