[all-commits] [llvm/llvm-project] 83cc60: [NFC] [Serialization] Extract logics to write spec...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed Apr 17 23:35:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83cc60565a8a78ce00ee0c29f167400902e60737
      https://github.com/llvm/llvm-project/commit/83cc60565a8a78ce00ee0c29f167400902e60737
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [NFC] [Serialization] Extract logics to write special decls from
ASTWriter::WriteASTCore

ASTWriter::WriteASTCore is a big function and slightly hard to read.
This patch extracts the logics to force emitting special declarations
and writing special records for these declarations into member
functions.

This is helpful to improve the readability and also helpful for the
following patch to write special declarations lazily.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list