mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Adapt llvmorg-19-init-1720-gda95d926f6fc: InclusionDirective
This commit is contained in:
parent
f8d2778b65
commit
88e382f8a3
@ -1126,7 +1126,10 @@ public:
|
|||||||
const FileEntry *file,
|
const FileEntry *file,
|
||||||
#endif
|
#endif
|
||||||
StringRef searchPath, StringRef relativePath,
|
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 {
|
SrcMgr::CharacteristicKind fileType) override {
|
||||||
#if LLVM_VERSION_MAJOR >= 15 // llvmorg-15-init-7692-gd79ad2f1dbc2
|
#if LLVM_VERSION_MAJOR >= 15 // llvmorg-15-init-7692-gd79ad2f1dbc2
|
||||||
const FileEntry *file = fileRef ? &fileRef->getFileEntry() : nullptr;
|
const FileEntry *file = fileRef ? &fileRef->getFileEntry() : nullptr;
|
||||||
|
@ -187,7 +187,10 @@ public:
|
|||||||
const FileEntry *file,
|
const FileEntry *file,
|
||||||
#endif
|
#endif
|
||||||
StringRef searchPath, StringRef relativePath,
|
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 {
|
SrcMgr::CharacteristicKind fileKind) override {
|
||||||
(void)sm;
|
(void)sm;
|
||||||
#if LLVM_VERSION_MAJOR >= 15 // llvmorg-15-init-7692-gd79ad2f1dbc2
|
#if LLVM_VERSION_MAJOR >= 15 // llvmorg-15-init-7692-gd79ad2f1dbc2
|
||||||
|
Loading…
Reference in New Issue
Block a user