[PATCH] Standardize usage of CodeGenModule::getContext().getTargetInfo()
swlin at post.harvard.edu
Mon Apr 8 21:09:38 PDT 2013
CodeGenModule::getTarget() is implemented as a trivial call to
CodeGenModule::getContext().getTargetInfo(), however, the two are
called interchangeably from other functions without any apparent
semantic distinction between the two.
Since the latter usage is more prevalent and is more fundamental
anyway, I've eliminated the former and converted all usages to the
latter. Also, I've removed CodeGenTypes::getTarget(), since it wasn't
Please review and commit on my behalf if this is ok.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6872 bytes
Desc: not available
More information about the cfe-commits