[PATCH] D54489: Implement -frecord-gcc-switches

Troy Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 13 12:39:23 PST 2018


troyj added a comment.

I realize that you're probably striving for option compatibility with gcc, but continuing to name it -frecord-gcc-switches when it actually records Clang switches seems weird to me.  It almost sounds like something that would dump gcc equivalents of all Clang options, or maybe let you know which Clang options you've used that match gcc options.  Either way, by the name -- if you aren't familiar with the gcc option -- it doesn't read like it records Clang options.

Would it be that bad to name it -frecord-clang-switches?  Or just -frecord-switches?


Repository:
  rC Clang

https://reviews.llvm.org/D54489





More information about the cfe-commits mailing list