summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-03-31 08:48:19 +0000
committerFangrui Song <maskray@google.com>2019-03-31 08:48:19 +0000
commit75e74e077c9fed24c00fb5e12078df2b192841da (patch)
treef3d417ebdba005b4b25dbfc350ab4159662a3418 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp
parenteaf4484e94e7de38ef9d80cb80d92b26ef5f657e (diff)
downloadbcm5719-llvm-75e74e077c9fed24c00fb5e12078df2b192841da.tar.gz
bcm5719-llvm-75e74e077c9fed24c00fb5e12078df2b192841da.zip
Range-style std::find{,_if} -> llvm::find{,_if}. NFC
llvm-svn: 357359
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
index 1a6314d48b2..1cea44f1d85 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -1369,8 +1369,7 @@ static void addContextEdges(PathPieces &pieces, SourceManager &SM,
break;
// If the source is in the same context, we're already good.
- if (std::find(SrcContexts.begin(), SrcContexts.end(), DstContext) !=
- SrcContexts.end())
+ if (llvm::find(SrcContexts, DstContext) != SrcContexts.end())
break;
// Update the subexpression node to point to the context edge.
OpenPOWER on IntegriCloud