[PATCH] D137071: [clang][Interp] Implement missing compound assign operators

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 07:56:34 PST 2022


tbaeder marked an inline comment as done.
tbaeder added inline comments.


================
Comment at: clang/test/AST/Interp/literals.cpp:591
+
+  static_assert(IntDiv(INT_MIN, -1) == 0, "");
+
----------------
aaron.ballman wrote:
> This one should fail for the same reason as `%`
Works when replacing all the `unsigned`s with `int`s.


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

https://reviews.llvm.org/D137071



More information about the cfe-commits mailing list