[PATCH] Make CodeGenTypes data members private.

Reid Kleckner rnk at google.com
Thu Oct 10 10:13:00 PDT 2013


Do you intend to use the accessor elsewhere?  For the one use of the
accessor in the static helper function, maybe it's better to pass CGM into
it and then delete the accessor?

Either way the privatizing looks good.


On Thu, Oct 3, 2013 at 2:26 PM, Mark Lacey <mark.lacey at apple.com> wrote:

>
> Add an accessor for the CodeGenModule reference stored in CodeGenTypes.
>
> No functionality differences.
> ---
> lib/CodeGen/CGCall.cpp     | 2 +-
> lib/CodeGen/CodeGenTypes.h | 5 ++---
> 2 files changed, 3 insertions(+), 4 deletions(-)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/4071a6d1/attachment.html>


More information about the cfe-commits mailing list