[llvm-branch-commits] [clang] release/20.x: [Serialization] Update DECL_LAST (PR #128690)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 25 08:31:29 PST 2025


https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/128690

>From d6fd6e4d6acfab8744064b03f1a86e16dfe53ec6 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: Tue, 25 Feb 2025 13:29:42 +0800
Subject: [PATCH] [Serialization] Update DECL_LAST

Address post commit review at
https://github.com/llvm/llvm-project/pull/119333#pullrequestreview-2637471908

(cherry picked from commit 366daddfad9aa38ebb7d40055cf65f4ecb7dd6f9)
---
 clang/include/clang/Serialization/ASTBitCodes.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/clang/include/clang/Serialization/ASTBitCodes.h b/clang/include/clang/Serialization/ASTBitCodes.h
index 1b56ed2c9776b..d60cb655aa261 100644
--- a/clang/include/clang/Serialization/ASTBitCodes.h
+++ b/clang/include/clang/Serialization/ASTBitCodes.h
@@ -1522,13 +1522,13 @@ enum DeclCode {
   /// An ImplicitConceptSpecializationDecl record.
   DECL_IMPLICIT_CONCEPT_SPECIALIZATION,
 
-  // A decls specilization record.
+  // A decls specialization record.
   DECL_SPECIALIZATIONS,
 
-  // A decls specilization record.
+  // A decls specialization record.
   DECL_PARTIAL_SPECIALIZATIONS,
 
-  DECL_LAST = DECL_IMPLICIT_CONCEPT_SPECIALIZATION
+  DECL_LAST = DECL_PARTIAL_SPECIALIZATIONS
 };
 
 /// Record codes for each kind of statement or expression.



More information about the llvm-branch-commits mailing list