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

Reply via email to