iains marked 2 inline comments as done. iains added inline comments.
================ Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:11155 +def err_export_inline_not_defined : Error< + "exported inline functions must be defined within the module purview" + " and before any private module fragment">; ---------------- iains wrote: > ChuanqiXu wrote: > > From my reading, 'exported' is not emphasized. > it is here: > https://eel.is/c++draft/module#private.frag-2.1 > ( I agree it is somewhat confusing, but the export makes the linkage > external, which the example treats differently from the fn_m() case which has > module linkage). > > It is possible that we might need to pull together several pieces of the std > and maybe ask core for clarification? > it is here: > https://eel.is/c++draft/module#private.frag-2.1 > ( I agree it is somewhat confusing, but the export makes the linkage > external, which the example treats differently from the fn_m() case which has > module linkage). hmm... my linkage comment is wrong - however the distinction between exported and odr-used seems to be made here (fn_m() and fn_e()). > > It is possible that we might need to pull together several pieces of the std > and maybe ask core for clarification? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128328/new/ https://reviews.llvm.org/D128328 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits