[PATCH] D40925: Add option -fkeep-static-consts

Elizabeth Andrews via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 20 12:55:25 PDT 2018


eandrews marked an inline comment as done.
eandrews added inline comments.


================
Comment at: include/clang/Basic/LangOptions.def:311
 
+BENIGN_LANGOPT(KeepStaticConsts      , 1, 0, "keep static const variables even if unused")
+
----------------
rnk wrote:
> Let's make this a CodeGenOption, since only CodeGen needs to look at it.
Thanks for the feedback Reid! I've changed it


https://reviews.llvm.org/D40925





More information about the cfe-commits mailing list