[PATCH] D13410: Use own struct instead of _Complex types on MSVC which lacks C99

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 4 11:38:11 PDT 2015


compnerd added inline comments.

================
Comment at: lib/builtins/int_types.h:144
@@ +143,3 @@
+#if __STDC_VERSION__ >= 199901L
+typedef float _Complex __Fcomplex;
+typedef double _Complex __Dcomplex;
----------------
Is there a reason we can't use `FComplex`, `DComplex`, `LComplex` as names instead?  This isn't a public header, so we don't have to worry about conflicting with user definitions.



http://reviews.llvm.org/D13410





More information about the llvm-commits mailing list