diff --git a/clang-tools-extra/include-cleaner/lib/FindHeaders.cpp b/clang-tools-extra/include-cleaner/lib/FindHeaders.cpp --- a/clang-tools-extra/include-cleaner/lib/FindHeaders.cpp +++ b/clang-tools-extra/include-cleaner/lib/FindHeaders.cpp @@ -125,8 +125,10 @@ if (FD->getNumParams() == 1) // move(T&& t) return tooling::stdlib::Header::named(""); - if (FD->getNumParams() == 3) + if (FD->getNumParams() == 3 || FD->getNumParams() == 4) // move(InputIt first, InputIt last, OutputIt dest); + // move(ExecutionPolicy&& policy, ForwardIt1 first, + // ForwardIt1 last, ForwardIt2 d_first); return tooling::stdlib::Header::named(""); } else if (FName == "remove") { if (FD->getNumParams() == 1) diff --git a/clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp b/clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp --- a/clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp +++ b/clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp @@ -546,6 +546,16 @@ "move", "", }, + { + R"cpp( + namespace std { + template + ForwardIt2 move(ExecutionPolicy&& policy, + ForwardIt1 first, ForwardIt1 last, ForwardIt2 d_first); + })cpp", + "move", + "", + }, { R"cpp( namespace std {