Change commit format to git-describle style

This commit is contained in:
Senran Zhang 2025-08-06 14:13:16 +08:00
parent 2aedb544db
commit 6be082abd8
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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,