[PATCH] D35715: Preserve typedef names in debug info for template type parameters

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 18:48:40 PDT 2017

aprantl added inline comments.

Comment at: include/clang/AST/PrettyPrinter.h:205
+  /// \brief When true, print template type arguments without removing typedefs.
+  unsigned PrintTemplateTypesWithTypedefs : 1;
`\brief` is no longer necessary and just makes the source code harder to read.

Comment at: include/clang/Basic/LangOptions.def:266
+LANGOPT(EmitTypedefNamesInTemplateTypes, 1, 0,
+        "emit typedef names in template types (DWARF)")
Perhaps PreserveSugarInTemplateTypes since it appears to also affect qualifiers?


More information about the cfe-commits mailing list