[llvm] r208680 - [un]wrap extracted from lib/Target/Target[MachineC].cpp, lib/ExecutionEngine/ExecutionEngineBindings.cpp into include/llvm/IR/DataLayout.h

Chandler Carruth chandlerc at google.com
Tue May 13 03:40:18 PDT 2014


On Tue, May 13, 2014 at 3:45 AM, Artyom Skrobov <Artyom.Skrobov at arm.com>wrote:

> -inline TargetLibraryInfo *unwrap(LLVMTargetLibraryInfoRef P) {
> -  return reinterpret_cast<TargetLibraryInfo*>(P);
> -}
> -
> -inline LLVMTargetLibraryInfoRef wrap(const TargetLibraryInfo *P) {
> -  TargetLibraryInfo *X = const_cast<TargetLibraryInfo*>(P);
> -  return reinterpret_cast<LLVMTargetLibraryInfoRef>(X);
> -}
> -
>

Also, why were these removed? you didn't add them anywhere...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140513/48b5c08d/attachment.html>


More information about the llvm-commits mailing list