Adapt to Clang 3.2
Change-Id: I9e51867198d7677c26cbd97f5d9c85ac13dc90c5
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "bodynotinblock.hxx"
|
||||
|
||||
#include <clang/AST/ASTContext.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
|
||||
namespace loplugin
|
||||
|
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "lclstaticfix.hxx"
|
||||
|
||||
#include <clang/AST/ASTContext.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
|
||||
/*
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#include <clang/Frontend/CompilerInstance.h>
|
||||
#include <clang/Frontend/FrontendAction.h>
|
||||
#include <clang/Frontend/FrontendPluginRegistry.h>
|
||||
#include <clang/Rewrite/Rewriter.h>
|
||||
|
||||
#include "bodynotinblock.hxx"
|
||||
#include "lclstaticfix.hxx"
|
||||
|
@@ -12,7 +12,12 @@
|
||||
#define PLUGIN_H
|
||||
|
||||
#include <clang/AST/RecursiveASTVisitor.h>
|
||||
|
||||
#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 2
|
||||
#include <clang/Rewrite/Rewriter.h>
|
||||
#else
|
||||
#include <clang/Rewrite/Core/Rewriter.h>
|
||||
#endif
|
||||
|
||||
using namespace clang;
|
||||
using namespace llvm;
|
||||
|
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "postfixincrementfix.hxx"
|
||||
|
||||
#include <clang/AST/ASTContext.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
|
||||
namespace loplugin
|
||||
|
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "sallogareas.hxx"
|
||||
|
||||
#include <clang/AST/ASTContext.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
#include <clang/Lex/Lexer.h>
|
||||
|
||||
|
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "unusedvariablecheck.hxx"
|
||||
|
||||
#include <clang/AST/ASTContext.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
|
||||
namespace loplugin
|
||||
|
Reference in New Issue
Block a user