[all-commits] [llvm/llvm-project] 170189: [clang][analyzer] Less redundant warnings from Fix...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Oct 3 00:18:13 PDT 2024


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
    M clang/test/Analysis/ptr-arith.c

  Log Message:
  -----------
  [clang][analyzer] Less redundant warnings from FixedAddressChecker (#110458)

If a fixed value is assigned to a pointer variable, the checker did emit
a warning. If the pointer variable is assigned to another pointer
variable, this resulted in another warning. The checker now emits
warning only if a value with non-pointer type is assigned (to a pointer
variable).



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