LGTM

================
Comment at: lib/AST/MicrosoftMangle.cpp:336
@@ +335,3 @@
+    if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>())
+      mangleName(MPT->getClass()->getCanonicalTypeUnqualified()
+                     .castAs<RecordType>()->getDecl());
----------------
Is getCanonicalTypeUnqualified() necessary?  Would getAsCXXRecordDecl() suffice?


http://llvm-reviews.chandlerc.com/D1282

BRANCH
  PR15900

ARCANIST PROJECT
  clang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to