[PATCH] D135750: [clang][Interp] Track initialization state of local variables
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 18 05:59:03 PST 2023
aaron.ballman accepted this revision.
aaron.ballman added a comment.
LGTM!
================
Comment at: clang/lib/AST/Interp/Pointer.h:63-64
private:
static constexpr unsigned PastEndMark = (unsigned)-1;
static constexpr unsigned RootPtrMark = (unsigned)-1;
----------------
aaron.ballman wrote:
> tbaeder wrote:
> > shafik wrote:
> > > or `-1u`
> > Alright, but those were not introduced in this patch.
> Preference for `~0u` so the types all match up nicely, fine to do in a post-commit NFC change.
Don't forget to hit this one in post-commit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135750/new/
https://reviews.llvm.org/D135750
More information about the cfe-commits
mailing list