[PATCH] D150647: [WIP][analyzer] Fix EnumCastOutOfRangeChecker C++17 handling

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 16 03:03:35 PDT 2023


steakhal added a comment.

> In C++17 the initialization rules for enum classes are relaxed.

In what way are they relaxed compared to regular enums?

Anyway, IMO those are indeed FPs, see https://godbolt.org/z/7z984bz6v

I'm looking forward to the fix. Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150647



More information about the cfe-commits mailing list