Adapt to modified clang::PPCallbacks::InclusionDirective

...in LLVM 19 trunk
<da95d926f6>
"[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 <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann
2024-02-11 15:27:06 +01:00
parent e6e22bee15
commit 2b93f4de13

View File

@@ -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;