[all-commits] [llvm/llvm-project] 66cf61: [clang][serialization] NFCI: Avoid re-reading inpu...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Dec 1 20:07:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66cf61abd849072d04da96408b122eea436dbc90
      https://github.com/llvm/llvm-project/commit/66cf61abd849072d04da96408b122eea436dbc90
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

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

  Log Message:
  -----------
  [clang][serialization] NFCI: Avoid re-reading input file info

This patch resolves a FIXME that points out an inefficiency in first deserializing the input file info and the whole input file, which redundantly deserializes the input file info again.

Reviewed By: Bigcheese

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




More information about the All-commits mailing list