mirror of
https://github.com/MaskRay/ccls.git
synced 2025-08-17 12:12:51 +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) || \
|
||||
(LLVM_VERSION_MAJOR >= 22) // 13e1a2cb
|
||||
(LLVM_VERSION_MAJOR >= 22) // llvmorg-21-init-12923-g13e1a2cb2246
|
||||
DiagnosticOptions DiagOpt;
|
||||
#else
|
||||
DiagnosticOptions *DiagOpt = new DiagnosticOptions;
|
||||
|
@ -353,7 +353,7 @@ void buildPreamble(Session &session, CompilerInvocation &ci, IntrusiveRefCntPtr<
|
||||
*fs,
|
||||
#endif
|
||||
#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(),
|
||||
#else
|
||||
&ci.getDiagnosticOpts(),
|
||||
@ -369,7 +369,7 @@ void buildPreamble(Session &session, CompilerInvocation &ci, IntrusiveRefCntPtr<
|
||||
|
||||
CclsPreambleCallbacks pc;
|
||||
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,
|
||||
#else
|
||||
*de,
|
||||
|
Loading…
Reference in New Issue
Block a user