IMO this should be a diagnostic in Sema, not CodeGen. It will have to be a special case for the MS C++ ABI, but that's life.
http://llvm-reviews.chandlerc.com/D2842 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
