[llvm-commits] Patch to cleanup code to use newer API.

Eli Friedman eli.friedman at gmail.com
Wed Oct 24 16:18:36 PDT 2012


On Wed, Oct 24, 2012 at 2:38 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote:
> I've attached a patch that cleans up various locations in the code base to convert:
> cast<llvm::PointerType>(A->getType())->getAddressSpace()
> into the shorter version of:
> A->getType()->getPointerAddressSpace() using the helper function from Type class.

Looks fine.

-Eli



More information about the llvm-commits mailing list