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

New commits:
commit 2b93f4de13e67e91fb86376dc2633051444e85f0
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Sun Feb 11 15:27:06 2024 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Sun Feb 11 19:59:03 2024 +0100

    Adapt to modified clang::PPCallbacks::InclusionDirective
    
    ...in LLVM 19 trunk
    
<https://github.com/llvm/llvm-project/commit/da95d926f6fce4ed9707c77908ad96624268f134>
    "[clang][lex] Always pass suggested module to `InclusionDirective()` 
callback
    (#81061)"
    
    Change-Id: I85a4f60fb3e514d3372118da454402dff6ad45e3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163229
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/compilerplugins/clang/includeform.cxx 
b/compilerplugins/clang/includeform.cxx
index da955c20d3bb..173f9e28841b 100644
--- a/compilerplugins/clang/includeform.cxx
+++ b/compilerplugins/clang/includeform.cxx
@@ -36,7 +36,11 @@ private:
 #else
         FileEntry const * File,
 #endif
-        StringRef SearchPath, StringRef, clang::Module const *, 
SrcMgr::CharacteristicKind) override
+        StringRef SearchPath, StringRef, clang::Module const *,
+#if CLANG_VERSION >= 190000
+        bool,
+#endif
+        SrcMgr::CharacteristicKind) override
     {
         if (ignoreLocation(HashLoc)) {
             return;

Reply via email to