[PATCH] D30082: Fix assertion when generating debug information for deduced template specialization types.

Richard Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 17 10:07:18 PST 2017


rsmith added inline comments.


================
Comment at: lib/CodeGen/CGDebugInfo.cpp:2478
       break;
+    case Type::DeducedTemplateSpecialization: {
+      QualType DT = cast<DeducedType>(T)->getDeducedType();
----------------
EricWF wrote:
> I'll put this in alphabetical order before committing. 
Reuse the Type::Auto case here rather than duplicating it. (You'll need to change its AutoType to the DeducedType common base class.)


https://reviews.llvm.org/D30082





More information about the cfe-commits mailing list