[all-commits] [llvm/llvm-project] f88462: [C++20][Modules][HU 3/5] Emit module macros for he...

iains via All-commits all-commits at lists.llvm.org
Sat Mar 26 09:31:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8846229c41f3e4aede3bd06921772a209b4993a
      https://github.com/llvm/llvm-project/commit/f8846229c41f3e4aede3bd06921772a209b4993a
  Author: Iain Sandoe <iain at sandoe.co.uk>
  Date:   2022-03-26 (Sat, 26 Mar 2022)

  Changed paths:
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/cxx20-hu-04.cpp

  Log Message:
  -----------
  [C++20][Modules][HU 3/5] Emit module macros for header units.

For header units we build the top level module directly from the header
that it represents and macros defined in this TU need to be emitted (when
such a definition is live at the end of the TU).

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




More information about the All-commits mailing list