[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
Mon Oct 5 19:21:25 PDT 2015


compnerd added inline comments.

================
Comment at: lib/builtins/int_types.h:158
@@ +157,3 @@
+#define COMPLEX_REAL(x) (x).re
+#define COMPLEX_IMAGINARY(x) (x).im
+#endif
----------------
Since the fields are hidden behind a macro anyways, any reason to not use "real" and "imaginary"?


http://reviews.llvm.org/D13410





More information about the llvm-commits mailing list