[PATCH] D55150: Emit warnings from the driver for use of -mllvm or -Xclang options.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 6 10:48:25 PST 2018


aaron.ballman added inline comments.


================
Comment at: clang/docs/UsersManual.rst:3137
       -W<warning>             Enable the specified warning
-      -Xclang <arg>           Pass <arg> to the clang compiler
+      -Xclang <arg>           Pass <arg> to the clang cc1 frontend. For experimental use only.
 
----------------
One downside to this is that I believe there are still situations where -Xclang may be required, such as when loading plugins. This could be mildly annoying even without it impacting -Werror because some CI tools do warning counts, it chats at users, etc.


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

https://reviews.llvm.org/D55150





More information about the cfe-commits mailing list