Kaydet (Commit) 149858e9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Adapt to Clang 3.2

Change-Id: I9e51867198d7677c26cbd97f5d9c85ac13dc90c5
üst 9bcd98fd
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment