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

Artyom Skrobov Artyom.Skrobov at arm.com
Tue May 13 03:45:46 PDT 2014


Chandler, these weren’t used anywhere in that file.

 

The build succeeds on Linux, but apparently MSVC uses different rules for typedefs resolution...

 

I’m working on the Windows build failure now.

 

 

From: Chandler Carruth [mailto:chandlerc at google.com] 
Sent: 13 May 2014 11:40
To: Artyom Skrobov
Cc: Commit Messages and Patches for LLVM
Subject: Re: [llvm] r208680 - [un]wrap extracted from lib/Target/Target[MachineC].cpp, lib/ExecutionEngine/ExecutionEngineBindings.cpp into include/llvm/IR/DataLayout.h

 

 

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/1414525a/attachment.html>


More information about the llvm-commits mailing list