[all-commits] [llvm/llvm-project] 2f29de: [analyzer] EnumCastOutOfRangeChecker: report the v...

DonatNagyE via All-commits all-commits at lists.llvm.org
Thu Dec 7 02:38:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f29ded4f98e8e1fa26725c618a08082a09b405a
      https://github.com/llvm/llvm-project/commit/2f29ded4f98e8e1fa26725c618a08082a09b405a
  Author: DonatNagyE <donat.nagy at ericsson.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
    M clang/test/Analysis/enum-cast-out-of-range.cpp

  Log Message:
  -----------
  [analyzer] EnumCastOutOfRangeChecker: report the value (#74503)

...that is causing the bug report when it's converted to the enum type.
This commit only improves the diagnostics and does not affect the set of
reports.




More information about the All-commits mailing list