diff options
author | Fangrui Song <maskray@google.com> | 2019-03-31 08:48:19 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-03-31 08:48:19 +0000 |
commit | ce76f242a3a88b0a44c9567eff34aea2441dad56 (patch) | |
tree | 5c3579db6d4fb2a528f882bcf668b190ef8ef9be /include/clang/Analysis | |
parent | 3d1e9bf72f37efa62ae9a036d596f496137663b2 (diff) |
Range-style std::find{,_if} -> llvm::find{,_if}. NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis')
-rw-r--r-- | include/clang/Analysis/Analyses/ThreadSafetyTIL.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/Analyses/ThreadSafetyTIL.h b/include/clang/Analysis/Analyses/ThreadSafetyTIL.h index ca2193d29d..c26d2ed99d 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyTIL.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyTIL.h @@ -1604,7 +1604,7 @@ public: /// Return the index of BB, or Predecessors.size if BB is not a predecessor. unsigned findPredecessorIndex(const BasicBlock *BB) const { - auto I = std::find(Predecessors.cbegin(), Predecessors.cend(), BB); + auto I = llvm::find(Predecessors, BB); return std::distance(Predecessors.cbegin(), I); } |