[clang] [Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros (PR #90574)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 09:35:22 PDT 2024


yronglin wrote:

Thanks for your review!

> Can we simplify further by lexing the partition along with the module name, when there is one?

Let me give a try, We may need to move the logic in Parser to Lex stage.

> We could also have a ModuleNameInfo::toString() function we could use in a couple places.

Sure, But it may only be useful for C++20 Modules. Modules in Objective-C and other languages ​​need to be separated by '.'.

https://github.com/llvm/llvm-project/pull/90574


More information about the cfe-commits mailing list