[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Fri Feb 26 11:06:05 UTC 2016


 compilerplugins/clang/plugin.hxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit f467269e1a5b0cbd9519f8cdc5d99fccc1db613f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 26 12:05:34 2016 +0100

    That #if for Clang < 3.2 is probably good to go by now
    
    Change-Id: I019405884dec5767de733e3fa0114b3b461e777d

diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index 867396c..778d951 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -22,11 +22,7 @@
 #include <clang/Lex/Preprocessor.h>
 #include <unordered_map>
 
-#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;


More information about the Libreoffice-commits mailing list