Adapt to Clang 3.2

Change-Id: I9e51867198d7677c26cbd97f5d9c85ac13dc90c5
This commit is contained in:
Stephan Bergmann
2012-12-05 15:29:19 +01:00
parent 9bcd98fd13
commit 149858e94e
7 changed files with 10 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
#include "bodynotinblock.hxx"
#include <clang/AST/ASTContext.h>
#include <clang/Basic/SourceManager.h>
namespace loplugin

View File

@@ -10,6 +10,7 @@
#include "lclstaticfix.hxx"
#include <clang/AST/ASTContext.h>
#include <clang/Basic/SourceManager.h>
/*

View File

@@ -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"

View File

@@ -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;

View File

@@ -10,6 +10,7 @@
#include "postfixincrementfix.hxx"
#include <clang/AST/ASTContext.h>
#include <clang/Basic/SourceManager.h>
namespace loplugin

View File

@@ -10,6 +10,7 @@
#include "sallogareas.hxx"
#include <clang/AST/ASTContext.h>
#include <clang/Basic/SourceManager.h>
#include <clang/Lex/Lexer.h>

View File

@@ -10,6 +10,7 @@
#include "unusedvariablecheck.hxx"
#include <clang/AST/ASTContext.h>
#include <clang/Basic/SourceManager.h>
namespace loplugin