[PATCH] [ms-cxxabi] Elide dtor access checks for pass-by-val objects in callees

Reid Kleckner rnk at google.com
Tue Dec 17 14:01:02 PST 2013


  Rather than threading a CheckDtorAccess bool through everywhere, I think you can inline a small portion of the body of FinalizeVarWithDestructor into CheckFunctionDefinition and skip the access check.  Most of it is probably dead.  That's what I did initially in http://llvm-reviews.chandlerc.com/D929.

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



More information about the cfe-commits mailing list