Bug 1894860 - Adjust searchfox plugin to LLVM 19 changes. r=asuth

Differential Revision: https://phabricator.services.mozilla.com/D209325
This commit is contained in:
Mike Hommey 2024-05-04 20:10:29 +00:00
parent 41ff0f1467
commit d54eab8c25

View File

@ -199,7 +199,12 @@ public:
#endif
StringRef SearchPath,
StringRef RelativePath,
#if CLANG_VERSION_MAJOR >= 19
const Module *SuggestedModule,
bool ModuleImported,
#else
const Module *Imported,
#endif
SrcMgr::CharacteristicKind FileType) override;
virtual void MacroDefined(const Token &Tok,
@ -2343,7 +2348,12 @@ void PreprocessorHook::InclusionDirective(SourceLocation HashLoc,
#endif
StringRef SearchPath,
StringRef RelativePath,
#if CLANG_VERSION_MAJOR >= 19
const Module *SuggestedModule,
bool ModuleImported,
#else
const Module *Imported,
#endif
SrcMgr::CharacteristicKind FileType) {
#if CLANG_VERSION_MAJOR >= 15
if (!File) {