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 | 75e74e077c9fed24c00fb5e12078df2b192841da (patch) | |
tree | f3d417ebdba005b4b25dbfc350ab4159662a3418 /clang/lib/Lex/PPDirectives.cpp | |
parent | eaf4484e94e7de38ef9d80cb80d92b26ef5f657e (diff) | |
download | bcm5719-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/Lex/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 16d61c70a02..3aae6ae245f 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -2210,8 +2210,7 @@ bool Preprocessor::ReadMacroParameterList(MacroInfo *MI, Token &Tok) { // If this is already used as a parameter, it is used multiple times (e.g. // #define X(A,A. - if (std::find(Parameters.begin(), Parameters.end(), II) != - Parameters.end()) { // C99 6.10.3p6 + if (llvm::find(Parameters, II) != Parameters.end()) { // C99 6.10.3p6 Diag(Tok, diag::err_pp_duplicate_name_in_arg_list) << II; return true; } |