commit 941b0e36aa7df758680d9c8d247575f6fde42cc4 parent 8b7e3c3a814c2bed26f5e21ac2d53adce002e8d4 Author: serge-sans-paille <sguelton@mozilla.com> Date: Thu, 13 Nov 2025 10:11:07 +0000 Bug 1999731 - Remove unused STL header inclusions in build/** r=glandium Differential Revision: https://phabricator.services.mozilla.com/D272294 Diffstat:
5 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/build/clang-plugin/CustomAttributes.cpp b/build/clang-plugin/CustomAttributes.cpp @@ -5,7 +5,6 @@ #include "CustomAttributes.h" #include "plugin.h" #include "clang/Frontend/FrontendPluginRegistry.h" -#include <algorithm> /* Having annotations in the AST unexpectedly impacts codegen. * Ideally, we'd avoid having annotations at all, by using an API such as diff --git a/build/clang-plugin/MemMoveAnnotation.h b/build/clang-plugin/MemMoveAnnotation.h @@ -9,7 +9,6 @@ #include "CustomTypeAnnotation.h" #include "Utils.h" -#include <unordered_set> class MemMoveAnnotation final : public CustomTypeAnnotation { public: diff --git a/build/clang-plugin/mozsearch-plugin/MozsearchIndexer.cpp b/build/clang-plugin/mozsearch-plugin/MozsearchIndexer.cpp @@ -33,7 +33,6 @@ #include <sstream> #include <stack> #include <string> -#include <tuple> #include <unordered_set> #include <stdio.h> diff --git a/build/clang-plugin/plugin.h b/build/clang-plugin/plugin.h @@ -18,7 +18,6 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" -#include <iterator> #include <memory> #define CLANG_VERSION_FULL (CLANG_VERSION_MAJOR * 100 + CLANG_VERSION_MINOR) diff --git a/build/clang-plugin/tests/TestCustomHeap.cpp b/build/clang-plugin/tests/TestCustomHeap.cpp @@ -8,7 +8,7 @@ #endif #include <stdlib.h> -#include <memory> +#include <new> struct MOZ_NONHEAP_CLASS X { };