[PATCH] D150654: [clang][Interp] ComplexFloatingToBoolean casts

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 16 06:40:30 PDT 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LG



================
Comment at: clang/test/AST/Interp/complex.cpp:70-74
+  constexpr _Complex float F7 = {0, 1};
+  static_assert(F7, "");
+  constexpr _Complex float F8 = {1, 0};
+  static_assert(F8, "");
+  constexpr _Complex double F9 = {0, 0};
----------------
Might as well skip the integral to float cast as that's not really interesting for the test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150654/new/

https://reviews.llvm.org/D150654



More information about the cfe-commits mailing list