[PATCH] D45289: Disable -fmerge-all-constants as default.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 4 14:30:51 PDT 2018


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

One minor change, then this looks good to me. Thank you!



================
Comment at: include/clang/Driver/Options.td:1286
 def fno_merge_all_constants : Flag<["-"], "fno-merge-all-constants">, Group<f_Group>,
     Flags<[CC1Option]>, HelpText<"Disallow merging of constants">;
 def fno_modules : Flag <["-"], "fno-modules">, Group<f_Group>,
----------------
Remove the `Flags<[CC1Option]>` here, since `-cc1` no longer understands this flag.


Repository:
  rC Clang

https://reviews.llvm.org/D45289





More information about the cfe-commits mailing list