[clang] [clang][Modules] Complete the implementation of P2615: Meaningful exports (PR #194201)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 22:57:56 PDT 2026


================
@@ -12854,6 +12854,15 @@ def err_invalid_module_name : Error<"%0 is an invalid name for a module">;
 def err_extern_def_in_header_unit : Error<
   "non-inline external definitions are not permitted in C++ header units">;
 
+def err_meaningless_export : Error<
----------------
ChuanqiXu9 wrote:

I still think it is better to be a warning for end users.

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


More information about the cfe-commits mailing list