[PATCH] D24571: [CUDA] Disallow overloading destructors.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 09:56:07 PDT 2016


jlebar added inline comments.


> rnk wrote in SemaOverload.cpp:1131
> I feel like we should exit early on destructors here, before we do any target checks. The assert also feels kind of trivial because we only come into this overload machinery if looking up New's DeclarationName found Old.

Will do when I check this in.  Thank you for the review!

https://reviews.llvm.org/D24571





More information about the cfe-commits mailing list