[PATCH] D154581: [clang][Interp] Track existing InitMaps in InterpState

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 19 23:48:16 PDT 2023


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


================
Comment at: clang/lib/AST/Interp/Descriptor.h:207
   /// Initializes the map with no fields set.
   InitMap(unsigned N);
 
----------------
aaron.ballman wrote:
> Now that this is public, can we make it `explicit` so we don't get accidental conversions from `unsigned`?
Sure.


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

https://reviews.llvm.org/D154581



More information about the cfe-commits mailing list