diff --git a/src/indexer.cc b/src/indexer.cc index f550f22a..8f84bc02 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -1126,7 +1126,10 @@ public: const FileEntry *file, #endif StringRef searchPath, StringRef relativePath, - const Module *imported, + const clang::Module *suggestedModule, +#if LLVM_VERSION_MAJOR >= 19 // llvmorg-19-init-1720-gda95d926f6fc + bool moduleImported, +#endif SrcMgr::CharacteristicKind fileType) override { #if LLVM_VERSION_MAJOR >= 15 // llvmorg-15-init-7692-gd79ad2f1dbc2 const FileEntry *file = fileRef ? &fileRef->getFileEntry() : nullptr; diff --git a/src/sema_manager.cc b/src/sema_manager.cc index 5b09cf92..0a7f6eb8 100644 --- a/src/sema_manager.cc +++ b/src/sema_manager.cc @@ -187,7 +187,10 @@ public: const FileEntry *file, #endif StringRef searchPath, StringRef relativePath, - const clang::Module *imported, + const clang::Module *suggestedModule, +#if LLVM_VERSION_MAJOR >= 19 // llvmorg-19-init-1720-gda95d926f6fc + bool moduleImported, +#endif SrcMgr::CharacteristicKind fileKind) override { (void)sm; #if LLVM_VERSION_MAJOR >= 15 // llvmorg-15-init-7692-gd79ad2f1dbc2