[llvm-dev] [compiler-rt] r249514 - builtins: emulate _Complex for cl

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 3 15:36:37 PST 2015


On Wed, Oct 07, 2015 at 02:58:07AM -0000, Saleem Abdulrasool via llvm-commits wrote:
> Author: compnerd
> Date: Tue Oct  6 21:58:07 2015
> New Revision: 249514
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=249514&view=rev
> Log:
> builtins: emulate _Complex for cl
> 
> cl does not support C99 completely as of VS2015.  Emulate _Complex to allow
> building with MSVC.
> 
> Patch by Tee Hao Wei!

Going back to this, I would like to see this reverted and stop us
pretending that we care about a compiler that doesn't even support C99.
The standard is 25 years old, get real. I see absolutely no reason why
we have to add hacks for such basic language features as complex.

Joerg


More information about the llvm-dev mailing list