[cfe-dev] MSVC Ownership.h patch
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1508 bytes
Desc: not available
More information about the cfe-dev