[PATCH] Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function
Eric Christopher
echristo at gmail.com
Tue Mar 3 12:52:26 PST 2015
Cool. Thanks!
-eric
On Tue, Mar 3, 2015 at 12:50 PM Mehdi AMINI <mehdi.amini at apple.com> wrote:
> Thanks.
>
> Note there is already a comment in the Doxygen.
> This one for the BasicBlock:
>
> /// Note: this is undefined behavior if the block does not have a parent.
>
> And this one for the instruction:
>
> /// Note: this is undefined behavior if the instruction does not have a
> /// parent, or the parent basic block does not have a parent function.
>
> —
> Mehdi
>
>
> http://reviews.llvm.org/D8027
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150303/fa970986/attachment.html>
More information about the llvm-commits
mailing list