[PATCH] D45835: Add new driver mode for dumping compiler options

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 19 12:43:27 PDT 2018


efriedma added a comment.

The list of features/extensions seems okay; it's information which is already available through a stable interface (specifically, clang -E).  JSON also seems fine as a representation.

Including the language/codegen/etc. options as-is doesn't make sense; we can, and often do, change the internal representation of the option structs.  If the information is useful, we should provide a stable interface.


https://reviews.llvm.org/D45835





More information about the cfe-commits mailing list