[cfe-dev] MSVC compiler intrinsics, need for direction.

Sebastian Redl sebastian.redl at getdesigned.at
Wed Oct 6 06:32:24 PDT 2010


On 06.10.2010 08:09, Francois Pichet wrote:
> sorry this was meant for clang-dev
>
> Hi, I am preparing a patch to add MSVC builtins compiler intrinsics to
> clang. (http://msdn.microsoft.com/en-us/library/26td21ds(v=VS.90).aspx)
>
> I see 2 possible implementations:
>   1. Put the MSVC intrinsics directly into
> clang\include\clang\Basic\Builtins.def and add an argument to specify
> if they are MSVC, GCC, ALLNOMS or ALL etc..
>
> 2. Add a new file BuiltinsMSVC.def.
>    
I still don't know what's stopping us from adding them unconditionally.

Sebastian



More information about the cfe-dev mailing list