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

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 17 16:27:23 PDT 2018


rnk added inline comments.


================
Comment at: include/clang/Basic/LangOptions.def:311
 
+BENIGN_LANGOPT(KeepStaticConsts      , 1, 0, "keep static const variables even if unused")
+
----------------
Let's make this a CodeGenOption, since only CodeGen needs to look at it.


https://reviews.llvm.org/D40925





More information about the cfe-commits mailing list