[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 18 07:48:30 PDT 2025


================
@@ -466,6 +466,9 @@ def err_pp_embed_device_file : Error<
 
 def ext_pp_extra_tokens_at_eol : ExtWarn<
   "extra tokens at end of #%0 directive">, InGroup<ExtraTokens>;
+def ext_pp_extra_tokens_at_module_directive_eol
+    : Warning<"extra tokens at end of '%0' directive">,
+      InGroup<ExtraTokens>;
----------------
yronglin wrote:

SGTM, I'll update this.

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


More information about the cfe-commits mailing list