[all-commits] [llvm/llvm-project] f74f56: [clang][analyzer] PointerSubChecker should not war...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Fri Oct 11 02:58:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f74f568b29885c3fa63c44e33f91f3bb7281138e
      https://github.com/llvm/llvm-project/commit/f74f568b29885c3fa63c44e33f91f3bb7281138e
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
    M clang/test/Analysis/pointer-sub.c

  Log Message:
  -----------
  [clang][analyzer] PointerSubChecker should not warn on pointers converted to numerical type (#111846)

Pointer values casted to integer (non-pointer) type should be able to be
subtracted as usual.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list