[all-commits] [llvm/llvm-project] c9cc80: [C++20][Modules][2/8] Add enumerations for partiti...
iains via All-commits
all-commits at lists.llvm.org
Tue Feb 22 02:08:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9cc8035eb4fbf5d20a73ec7e0870e6195012a71
https://github.com/llvm/llvm-project/commit/c9cc8035eb4fbf5d20a73ec7e0870e6195012a71
Author: Iain Sandoe <iain at sandoe.co.uk>
Date: 2022-02-22 (Tue, 22 Feb 2022)
Changed paths:
M clang/include/clang/Basic/Module.h
M clang/lib/AST/Decl.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[C++20][Modules][2/8] Add enumerations for partition modules and stream them.
This is an initial enabling patch for module partition support.
We add enumerations for partition interfaces/implementations.
This means that the module kind enumeration now occupies three
bits, so the AST streamer is adjusted for this. Adding one bit there
seems preferable to trying to overload the meanings of existing
kinds (and we will also want to add a C++20 header unit case later).
Differential Revision: https://reviews.llvm.org/D114714
More information about the All-commits
mailing list