[clang] [clang-tools-extra] [clang] Refactor `clang::Linkage` (PR #71049)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 06:16:32 PDT 2023


================
@@ -2214,7 +2214,7 @@ void ASTWriter::WriteDeclAbbrevs() {
   Abv->Add(BitCodeAbbrevOp(0));                       // TSCSpec
   Abv->Add(BitCodeAbbrevOp(0));                       // InitStyle
   Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isARCPseudoStrong
-  Abv->Add(BitCodeAbbrevOp(0));                       // Linkage
+  Abv->Add(BitCodeAbbrevOp(1));                         // Linkage
----------------
AaronBallman wrote:

Ohhhh! Thanks. None makes far more sense now. Still a change to the serialization values though, so we need to check whether we should do a version bump or not.

https://github.com/llvm/llvm-project/pull/71049


More information about the cfe-commits mailing list