[PATCH] Pass CGCXXABIs around directly.

Mark Lacey mark.lacey at apple.com
Fri Oct 4 02:08:31 PDT 2013


Please review this small bit of clean-up.

Thanks,

Mark

--------

In functions that only need to use the CGCXXABI member of a CodeGenTypes
class, pass that reference around directly rather than a reference to
a CodeGenTypes class.

This makes the actual dependence on CGCXXABI clear at the call sites.
---
lib/CodeGen/ABIInfo.h      |  2 ++
lib/CodeGen/TargetInfo.cpp | 57 +++++++++++++++++++++++++---------------------
2 files changed, 33 insertions(+), 26 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Pass-CGCXXABIs-around-directly.patch
Type: text/x-patch
Size: 9859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131004/f441dc2c/attachment.bin>


More information about the cfe-commits mailing list