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

Villmow, Micah Micah.Villmow at amd.com
Wed Oct 24 14:38:17 PDT 2012


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.

Micah
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 007-getAddressSpace-cleanup.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121024/e7e17fee/attachment.txt>


More information about the llvm-commits mailing list