[PATCH] D133934: [clang][Interp] Handle sizeof() expressions

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 12:24:46 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/lib/AST/Interp/Boolean.h:50
 
   explicit operator unsigned() const { return V; }
+  explicit operator int8_t() const { return V; }
----------------
aaron.ballman wrote:
> At some point, do we want to rename this (and int) to use uint32_t/int32_t?
I can do that as a follow-up commit if you want.


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

https://reviews.llvm.org/D133934



More information about the cfe-commits mailing list