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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to