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

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 13:42:32 PDT 2017

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

Looks OK to me - couple of minor questions.

Comment at: include/clang/Frontend/CodeGenOptions.def:222
 				     ///< of inline stack frames without .dwo files.
+CODEGENOPT(DebugFwdTemplateParams, 1, 0) ///< Whether to emit complete
+                                         ///< template parameter descriptions in
Maybe 'Decl' rather than 'Fwd'.

Comment at: test/CodeGenCXX/debug-info-fwd-template-param.cpp:7
+template<typename T> class A;
+A<const int> *p;
Any particular reason for const int, rather than int?


More information about the cfe-commits mailing list