summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-02-02 19:45:47 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-02 22:59:45 +0100
commit276953ef21c3b9278538000c3322d5fb212c2686 (patch)
tree5e87a772e57273f25f75b07665e7bf68e3573e9d /compilerplugins/clang
parentf5ee30c3eeb104c9178646b8a098e882593ea4df (diff)
remove not needed #include
Change-Id: I0fa791733407199db5be2cc9606ac9be1da64188
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/bodynotinblock.cxx3
-rw-r--r--compilerplugins/clang/plugin.cxx1
-rw-r--r--compilerplugins/clang/plugin.hxx1
-rw-r--r--compilerplugins/clang/pluginhandler.cxx1
-rw-r--r--compilerplugins/clang/postfixincrementfix.cxx3
-rw-r--r--compilerplugins/clang/removeforwardstringdecl.cxx3
-rw-r--r--compilerplugins/clang/sallogareas.cxx2
-rw-r--r--compilerplugins/clang/store/lclstaticfix.cxx3
-rw-r--r--compilerplugins/clang/unusedvariablecheck.cxx2
9 files changed, 1 insertions, 18 deletions
diff --git a/compilerplugins/clang/bodynotinblock.cxx b/compilerplugins/clang/bodynotinblock.cxx
index 56edfbd7f1c9..cd3e1a08eafe 100644
--- a/compilerplugins/clang/bodynotinblock.cxx
+++ b/compilerplugins/clang/bodynotinblock.cxx
@@ -10,9 +10,6 @@
#include "bodynotinblock.hxx"
-#include <clang/AST/ASTContext.h>
-#include <clang/Basic/SourceManager.h>
-
namespace loplugin
{
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx
index 0c9769ef9b69..f6c81f566ed1 100644
--- a/compilerplugins/clang/plugin.cxx
+++ b/compilerplugins/clang/plugin.cxx
@@ -10,7 +10,6 @@
#include "plugin.hxx"
-#include <clang/AST/ASTContext.h>
#include <clang/Basic/FileManager.h>
#include "pluginhandler.hxx"
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index f7f8e9f10382..92ff6f3c8953 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -13,6 +13,7 @@
#include <config_clang.h>
+#include <clang/AST/ASTContext.h>
#include <clang/AST/RecursiveASTVisitor.h>
#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 2
diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx
index 3282ef00c77f..eeda78ace7d1 100644
--- a/compilerplugins/clang/pluginhandler.cxx
+++ b/compilerplugins/clang/pluginhandler.cxx
@@ -10,7 +10,6 @@
#include "pluginhandler.hxx"
-#include <clang/AST/ASTContext.h>
#include <clang/Frontend/CompilerInstance.h>
#include <clang/Frontend/FrontendPluginRegistry.h>
#include <stdio.h>
diff --git a/compilerplugins/clang/postfixincrementfix.cxx b/compilerplugins/clang/postfixincrementfix.cxx
index 6d8da1ffc771..9dac5168b1e3 100644
--- a/compilerplugins/clang/postfixincrementfix.cxx
+++ b/compilerplugins/clang/postfixincrementfix.cxx
@@ -10,9 +10,6 @@
#include "postfixincrementfix.hxx"
-#include <clang/AST/ASTContext.h>
-#include <clang/Basic/SourceManager.h>
-
/*
This is a rewriter.
diff --git a/compilerplugins/clang/removeforwardstringdecl.cxx b/compilerplugins/clang/removeforwardstringdecl.cxx
index 711d9604dc9f..736cbe3e0ab2 100644
--- a/compilerplugins/clang/removeforwardstringdecl.cxx
+++ b/compilerplugins/clang/removeforwardstringdecl.cxx
@@ -10,9 +10,6 @@
#include "removeforwardstringdecl.hxx"
-#include <clang/AST/ASTContext.h>
-#include <clang/Basic/SourceManager.h>
-
/*
This is a rewriter.
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx
index db4453c98ab5..2f88905296df 100644
--- a/compilerplugins/clang/sallogareas.cxx
+++ b/compilerplugins/clang/sallogareas.cxx
@@ -10,8 +10,6 @@
#include "sallogareas.hxx"
-#include <clang/AST/ASTContext.h>
-#include <clang/Basic/SourceManager.h>
#include <clang/Lex/Lexer.h>
#include <fstream>
diff --git a/compilerplugins/clang/store/lclstaticfix.cxx b/compilerplugins/clang/store/lclstaticfix.cxx
index e966139dbaa1..6b3ba167c656 100644
--- a/compilerplugins/clang/store/lclstaticfix.cxx
+++ b/compilerplugins/clang/store/lclstaticfix.cxx
@@ -10,9 +10,6 @@
#include "lclstaticfix.hxx"
-#include <clang/AST/ASTContext.h>
-#include <clang/Basic/SourceManager.h>
-
/*
This is a rewriter.
diff --git a/compilerplugins/clang/unusedvariablecheck.cxx b/compilerplugins/clang/unusedvariablecheck.cxx
index d13c7266fe60..989269f59e7f 100644
--- a/compilerplugins/clang/unusedvariablecheck.cxx
+++ b/compilerplugins/clang/unusedvariablecheck.cxx
@@ -10,9 +10,7 @@
#include "unusedvariablecheck.hxx"
-#include <clang/AST/ASTContext.h>
#include <clang/AST/Attr.h>
-#include <clang/Basic/SourceManager.h>
namespace loplugin
{