[PATCH] D14358: DWARF's forward decl of a template should have template parameters.

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 26 17:02:56 PDT 2017


aprantl added a comment.

Does this have to be exposed through the driver or could this be a cc1 option only?



================
Comment at: include/clang/Basic/LangOptions.def:144
 BENIGN_LANGOPT(EmitAllDecls      , 1, 0, "emitting all declarations")
+BENIGN_LANGOPT(EmitFwdTemplateChildren, 1, 0, "emit template parameter children in forward declarations")
 LANGOPT(MathErrno         , 1, 1, "errno in math functions")
----------------
Why is this a LangOpt instead of a CodeGenOpt?
Should it reference `debug` somewhere in the name?


https://reviews.llvm.org/D14358





More information about the cfe-commits mailing list