[PATCH] [ms-cxxabi] Handle template-template arguments

Reid Kleckner rnk at google.com
Mon Aug 5 11:00:19 PDT 2013

Comment at: lib/AST/MicrosoftMangle.cpp:905
@@ +904,3 @@
+    mangleType(cast<TagDecl>(
+        TA.getAsTemplate().getAsTemplateDecl()->getTemplatedDecl()));
+    break;
The Itanium mangler tries to unpack the TemplateName a bit, but many of those cases look unreachable.  Can you issue an error diagnostic if getAsTemplatedDecl() returns null?


More information about the cfe-commits mailing list