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:
@@ -36,7 +36,11 @@ private:
|
|||||||
#else
|
#else
|
||||||
FileEntry const * File,
|
FileEntry const * File,
|
||||||
#endif
|
#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)) {
|
if (ignoreLocation(HashLoc)) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user