compilerplugins/clang/includeform.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 96e29e35b3797e00510736768aa4755424c464b1
Author:     Paris Oplopoios <paris.oplopo...@collabora.com>
AuthorDate: Tue Oct 3 10:47:42 2023 +0300
Commit:     Paris Oplopoios <parisop...@gmail.com>
CommitDate: Tue Oct 3 11:25:18 2023 +0200

    Adapt to clang 16 InclusionDirective change
    
    Change-Id: I3e77848aa95238f141d1027223ae1bbc831ce281
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157509
    Reviewed-by: Paris Oplopoios <parisop...@gmail.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/compilerplugins/clang/includeform.cxx 
b/compilerplugins/clang/includeform.cxx
index 7b2c0feb07ea..da955c20d3bb 100644
--- a/compilerplugins/clang/includeform.cxx
+++ b/compilerplugins/clang/includeform.cxx
@@ -29,7 +29,9 @@ private:
     void InclusionDirective(
         SourceLocation HashLoc, Token const & IncludeTok, StringRef,
         bool IsAngled, CharSourceRange FilenameRange,
-#if CLANG_VERSION >= 150000
+#if CLANG_VERSION >= 160000
+        OptionalFileEntryRef File,
+#elif CLANG_VERSION >= 150000
         Optional<FileEntryRef> File,
 #else
         FileEntry const * File,

Reply via email to