================
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?


http://llvm-reviews.chandlerc.com/D1285
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to