[cfe-dev] MSVC Ownership.h patch

AlisdairM public at alisdairm.net
Wed Jul 1 03:38:56 PDT 2009


> -----Original Message-----
> From: Chris Lattner [mailto:clattner at apple.com]
> Sent: 25 June 2009 17:17
> To: AlisdairM (public)
> Cc: 'Douglas Gregor'; cfe-dev at cs.uiuc.edu
> Subject: Re: [cfe-dev] MSVC Ownership.h patch

> We usually use "#ifdef _MSC_VER" to detect microsoft compilers.  If
> you want to detect the windows platform, use #ifdef LLVM_ON_WIN32

Thanks.

Updated patch attached that unconditionally tests for Microsoft compilers.
I have taken the lead from Olaf to move the cast logic into a separate
function, but retain the compiler checks.

AlisdairM

-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvc_move_semantic.patch
Type: application/octet-stream
Size: 1508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090701/78eb30ae/attachment.obj>


More information about the cfe-dev mailing list