[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:23:58 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:
Excellent, thank you! Hmmm, we should probably put a comment there like "this value was last bumped for the Clang NN release" so we don't have to do so much work in the future... (Not as part of these changes, just thinking out loud.)
https://github.com/llvm/llvm-project/pull/71049
More information about the cfe-commits
mailing list