[PATCH] Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function
Mehdi AMINI
mehdi.amini at apple.com
Tue Mar 3 12:50:47 PST 2015
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/
More information about the llvm-commits
mailing list