[PATCH] D148987: [clang][Interp] Check Neg ops for errors

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 04:39:27 PDT 2023


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

LGTM with a request to add a message to the assertion.



================
Comment at: clang/lib/AST/Interp/Interp.h:436
+
+  assert(isIntegralType(Name));
   S.Stk.push<T>(Result);
----------------



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

https://reviews.llvm.org/D148987



More information about the cfe-commits mailing list