From 9bf0b6bb08427fbccbc76a30cf2ed8e577e9f553 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Thu, 29 Dec 2016 11:32:31 -0500 Subject: [PATCH] Bug 1326229 - Move the include for FrontendPluginRegistry.h to MozCheckAction.cpp; r=mystor --- build/clang-plugin/MozCheckAction.cpp | 2 ++ build/clang-plugin/plugin.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/clang-plugin/MozCheckAction.cpp b/build/clang-plugin/MozCheckAction.cpp index 15362be24b81..c2e2a28fa746 100644 --- a/build/clang-plugin/MozCheckAction.cpp +++ b/build/clang-plugin/MozCheckAction.cpp @@ -2,7 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include "plugin.h" #include "DiagnosticsMatcher.h" +#include "clang/Frontend/FrontendPluginRegistry.h" class MozCheckAction : public PluginASTAction { public: diff --git a/build/clang-plugin/plugin.h b/build/clang-plugin/plugin.h index 02303a76cbce..9fc547d3487e 100644 --- a/build/clang-plugin/plugin.h +++ b/build/clang-plugin/plugin.h @@ -12,7 +12,6 @@ #include "clang/ASTMatchers/ASTMatchers.h" #include "clang/Basic/Version.h" #include "clang/Frontend/CompilerInstance.h" -#include "clang/Frontend/FrontendPluginRegistry.h" #include "clang/Frontend/MultiplexConsumer.h" #include "clang/Sema/Sema.h" #include "llvm/ADT/DenseMap.h"