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

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 06:08: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
----------------
ChuanqiXu9 wrote:

```suggestion
  Abv->Add(BitCodeAbbrevOp(1));                         // Linkage::None
```

nit

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


More information about the cfe-commits mailing list