diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/ADT/DepthFirstIterator.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/ADT/DepthFirstIterator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/ADT/DepthFirstIterator.h b/contrib/llvm-project/llvm/include/llvm/ADT/DepthFirstIterator.h index 11967f5eefcc..5bfea28332b2 100644 --- a/contrib/llvm-project/llvm/include/llvm/ADT/DepthFirstIterator.h +++ b/contrib/llvm-project/llvm/include/llvm/ADT/DepthFirstIterator.h @@ -198,7 +198,7 @@ public: // nodes that a depth first iteration did not find: ie unreachable nodes. // bool nodeVisited(NodeRef Node) const { - return this->Visited.count(Node) != 0; + return this->Visited.contains(Node); } /// getPathLength - Return the length of the path from the entry node to the |