diff --git a/clang-tools-extra/clang-tidy/cert/ExitHandlerCheck.cpp b/clang-tools-extra/clang-tidy/cert/ExitHandlerCheck.cpp --- a/clang-tools-extra/clang-tidy/cert/ExitHandlerCheck.cpp +++ b/clang-tools-extra/clang-tidy/cert/ExitHandlerCheck.cpp @@ -12,7 +12,6 @@ #include "clang/ASTMatchers/ASTMatchFinder.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/SmallVector.h" -#include #include #include @@ -141,8 +140,7 @@ // Collect all the referenced FunctionDecls. Collector.TraverseStmt(CurrentDefWithBody->getBody()); // Move the called functions to the worklist. - std::move(Collector.begin(), Collector.end(), - std::back_inserter(CalledFunctions)); + llvm::move(Collector, std::back_inserter(CalledFunctions)); } }