[PATCH] D114714: [C++20][Modules] Add enumerations for partition modules and stream them.
Nathan Sidwell via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 15 10:49:41 PST 2022
urnathan added inline comments.
================
Comment at: clang/include/clang/Basic/Module.h:109
- /// This is a C++ Modules TS module interface unit.
+ /// This is a C++ Modules TS or C++20 module interface unit.
ModuleInterfaceUnit,
----------------
I think it's confusing to continue to refer to modules-ts modules at this point. Is that really necessary?
The specific confusion here is that does 'ModuleInterfaceUnit' mean one of two different things depending on compilation mode, or is it a single thing with two different names?
================
Comment at: clang/include/clang/Basic/Module.h:517-518
+ /// Is this a module partition.
+ /// ??? : make a bit and stream it?
+
----------------
???
================
Comment at: clang/include/clang/Basic/Module.h:520
+
+ bool isPartition() const { return Name.find(':') != std::string::npos; }
+
----------------
isModulePartition?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114714/new/
https://reviews.llvm.org/D114714
More information about the cfe-commits
mailing list