[all-commits] [llvm/llvm-project] 893a30: [clang][analyzer] Support `ownership_{returns, take...

Pavel Skripkin via All-commits all-commits at lists.llvm.org
Wed Jul 24 04:15:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 893a303962608469ec5bd01fe44e82c935152e9c
      https://github.com/llvm/llvm-project/commit/893a303962608469ec5bd01fe44e82c935152e9c
  Author: Pavel Skripkin <paskripkin at gmail.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/analyzer/checkers/mismatched_deallocator_example.cpp
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    M clang/test/Analysis/Inputs/expected-plists/plist-macros.cpp.plist
    M clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp
    M clang/test/Analysis/MismatchedDeallocator-checker-test.mm
    M clang/test/Analysis/NewDelete-intersections.mm
    M clang/test/Analysis/free.c
    M clang/test/Analysis/free.cpp
    M clang/test/Analysis/getline-alloc.c
    M clang/test/Analysis/kmalloc-linux.c
    M clang/test/Analysis/malloc-fnptr-plist.c
    M clang/test/Analysis/malloc-std-namespace.cpp
    M clang/test/Analysis/malloc.c
    M clang/test/Analysis/malloc.mm
    M clang/test/Analysis/plist-macros.cpp
    M clang/test/Analysis/weak-functions.c
    M clang/test/Sema/attr-ownership.c

  Log Message:
  -----------
  [clang][analyzer] Support `ownership_{returns,takes}` attributes (#98941)

Add support for checking mismatched ownership_returns/ownership_takes attributes.

Closes #76861



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