[patch] Handle constructors and destructors a bit more uniformly in CodeGen

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Sep 1 19:03:33 PDT 2014


It looks like there are code paths that are duplicated for
constructors and destructors just because
we have both CXXCtorType and CXXDtorsTypes.

This patch introduces a CDtorType enum that lets us reduce the
duplication a bit.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 25195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140901/e749bd9f/attachment.bin>


More information about the cfe-commits mailing list