[clang] [llvm] Add support in LLVM BitstreamWriter to automatically choose abbrevs. (PR #147191)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 23 23:16:57 PDT 2025


================
@@ -2504,7 +2362,7 @@ void ASTWriter::WriteDeclAbbrevs() {
   // Type Source Info
   Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
   Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // TypeLoc
----------------
ChuanqiXu9 wrote:

These specification still seems complex and not easy to extend.

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


More information about the cfe-commits mailing list