[all-commits] [llvm/llvm-project] fdbc55: [clang][modules] NFCI: Unify FileID writing/reading

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Nov 1 18:57:26 PDT 2022


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

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

  Log Message:
  -----------
  [clang][modules] NFCI: Unify FileID writing/reading

This patch adds new functions for writing/reading `FileID`s and uses them to replace some ad-hoc code.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list