compilerplugins/clang/compat.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 59534c68585e9ff80ebaafee8f61c2d171bdc9de
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Feb 15 13:29:04 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Feb 15 15:18:30 2022 +0100

    Remove unused includes
    
    ...after 9663341f9249c739219ffe6cccf3762aa8dd78f3 "Bump
    --enable-compiler-plugins to Clang 3.8.0" removed the uses of
    clang::PPCallbacks and clang::Preprocessor, and
    f23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9 "Bump compiler plugins Clang 
baseline
    to 5.0.2" removed the uses of clang::CompilerInstance, llvm::StringRef, and
    std::size_t.  But llvm::sys::fs::OpenFlags needs llvm/Support/FileSystem.h.
    
    Change-Id: I98227554646843db5cc13f75a2baed51be752dbb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129962
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 54f0d701a023..2c154b975c44 100644
--- a/compilerplugins/clang/compat.hxx
+++ b/compilerplugins/clang/compat.hxx
@@ -9,7 +9,6 @@
 
 #pragma once
 
-#include <cstddef>
 #include <string>
 #include <utility>
 
@@ -19,12 +18,10 @@
 #include "clang/AST/ExprCXX.h"
 #include "clang/Basic/SourceManager.h"
 #include "clang/Basic/Specifiers.h"
-#include "clang/Frontend/CompilerInstance.h"
-#include "clang/Lex/Lexer.h"
 #include "llvm/ADT/StringExtras.h"
-#include "llvm/ADT/StringRef.h"
 #include "llvm/Support/Casting.h"
 #include "llvm/Support/Compiler.h"
+#include "llvm/Support/FileSystem.h"
 
 #include "config_clang.h"
 

Reply via email to