mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Adapt llvmorg-17-init-4072-gcc929590ad30: PrecompiledPreamble::Build
This commit is contained in:
parent
8bc3959537
commit
ba38e13b93
@ -404,7 +404,11 @@ void buildPreamble(Session &session, CompilerInvocation &ci,
|
||||
|
||||
CclsPreambleCallbacks pc;
|
||||
if (auto newPreamble = PrecompiledPreamble::Build(
|
||||
ci, buf.get(), bounds, *de, fs, session.pch, true, pc)) {
|
||||
ci, buf.get(), bounds, *de, fs, session.pch, true,
|
||||
#if LLVM_VERSION_MAJOR >= 17 // llvmorg-17-init-4072-gcc929590ad30
|
||||
"",
|
||||
#endif
|
||||
pc)) {
|
||||
assert(!ci.getPreprocessorOpts().RetainRemappedFileBuffers);
|
||||
if (oldP) {
|
||||
auto &old_includes = oldP->includes;
|
||||
|
Loading…
Reference in New Issue
Block a user