[all-commits] [llvm/llvm-project] a13122: [clang][modules] NFCI: Avoid unnecessary serializa...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Nov 1 19:23:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a13122c612a653026b2ac220e220c50783c3aa82
      https://github.com/llvm/llvm-project/commit/a13122c612a653026b2ac220e220c50783c3aa82
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

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

  Log Message:
  -----------
  [clang][modules] NFCI: Avoid unnecessary serialization logic for non-affecting files

This patch delays some `ASTWriter` logic until after we've checked whether the source location entry we're serializing as an affecting file or not.

Depends on D137214.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D137216




More information about the All-commits mailing list