[PATCH] D121683: Emit a warning if -xc/-xc++ is after the last input file

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 15 10:33:56 PDT 2022


MaskRay added inline comments.


================
Comment at: clang/include/clang/Basic/DiagnosticDriverKinds.td:369
+def warn_drv_unused_x : Warning<
+  "‘-x %0’ after last input file has no effect">,
+  InGroup<UnusedCommandLineArgument>;
----------------
Use ASCII punctuation marks


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121683/new/

https://reviews.llvm.org/D121683



More information about the cfe-commits mailing list