yronglin wrote: > module foo(); should be Ill-formed.
Ahh, so case like the following also should be ill-formed: ``` #define FUNC_LIKE(X) function_like_##X export module FUNC_LIKE(bar); ``` > we can get the module name of a TU by cat and grep This means that no macros of any kind can appear in the module name. Thank you all. Things much clearer now. https://github.com/llvm/llvm-project/pull/90574 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits