[libcxx-commits] [PATCH] D151030: [libc++][modules] Adds std module cppm files.
Aaron Siddhartha Mondal via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 20 08:56:09 PDT 2023
aaronmondal added inline comments.
================
Comment at: libcxx/modules/std/new.cppm:13
+
+export module std:__new; // Note new is a keyword and not a valid identifier
+export namespace std {
----------------
I wonder whether it would be better to name this file `__new.cppm`, so that it's more straightforward to generate the module partition name from the filename. Otherwise this needs special treatment in build files.
Then again, that would make the filename inconsistent with the others. Ahh what a dilemma 😅
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151030/new/
https://reviews.llvm.org/D151030
More information about the libcxx-commits
mailing list