mirror of
https://github.com/MaskRay/ccls.git
synced 2025-08-17 20:22:23 +00:00
Change commit format to git-describle style
This commit is contained in:
parent
2aedb544db
commit
6be082abd8
@ -117,7 +117,7 @@ std::unique_ptr<CompilerInvocation> buildCompilerInvocation(const std::string &m
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if (LLVM_VERSION_MAJOR == 21 && LLVM_VERSION_MINOR >= 1) || \
|
#if (LLVM_VERSION_MAJOR == 21 && LLVM_VERSION_MINOR >= 1) || \
|
||||||
(LLVM_VERSION_MAJOR >= 22) // 13e1a2cb
|
(LLVM_VERSION_MAJOR >= 22) // llvmorg-21-init-12923-g13e1a2cb2246
|
||||||
DiagnosticOptions DiagOpt;
|
DiagnosticOptions DiagOpt;
|
||||||
#else
|
#else
|
||||||
DiagnosticOptions *DiagOpt = new DiagnosticOptions;
|
DiagnosticOptions *DiagOpt = new DiagnosticOptions;
|
||||||
|
@ -353,7 +353,7 @@ void buildPreamble(Session &session, CompilerInvocation &ci, IntrusiveRefCntPtr<
|
|||||||
*fs,
|
*fs,
|
||||||
#endif
|
#endif
|
||||||
#if (LLVM_VERSION_MAJOR == 21 && LLVM_VERSION_MINOR >= 1) || \
|
#if (LLVM_VERSION_MAJOR == 21 && LLVM_VERSION_MINOR >= 1) || \
|
||||||
(LLVM_VERSION_MAJOR >= 22) // 13e1a2cb
|
(LLVM_VERSION_MAJOR >= 22) // llvmorg-21-init-12923-g13e1a2cb2246
|
||||||
ci.getDiagnosticOpts(),
|
ci.getDiagnosticOpts(),
|
||||||
#else
|
#else
|
||||||
&ci.getDiagnosticOpts(),
|
&ci.getDiagnosticOpts(),
|
||||||
@ -369,7 +369,7 @@ void buildPreamble(Session &session, CompilerInvocation &ci, IntrusiveRefCntPtr<
|
|||||||
|
|
||||||
CclsPreambleCallbacks pc;
|
CclsPreambleCallbacks pc;
|
||||||
if (auto newPreamble = PrecompiledPreamble::Build(ci, buf.get(), bounds,
|
if (auto newPreamble = PrecompiledPreamble::Build(ci, buf.get(), bounds,
|
||||||
#if LLVM_VERSION_MAJOR >= 22 // c7f34375
|
#if LLVM_VERSION_MAJOR >= 22 // llvmorg-22-init-2136-gc7f343750744
|
||||||
de,
|
de,
|
||||||
#else
|
#else
|
||||||
*de,
|
*de,
|
||||||
|
Loading…
Reference in New Issue
Block a user