[all-commits] [llvm/llvm-project] 4862fe: [clang][APINotes] Do not add duplicate lifetimebou...

Gábor Horváth via All-commits all-commits at lists.llvm.org
Thu Nov 21 15:25:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4862febdce572e6952b02283a6c7e53617e3aac0
      https://github.com/llvm/llvm-project/commit/4862febdce572e6952b02283a6c7e53617e3aac0
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M clang/lib/Sema/CheckExprLifetime.cpp
    M clang/lib/Sema/CheckExprLifetime.h
    M clang/lib/Sema/SemaAPINotes.cpp
    M clang/test/APINotes/Inputs/Headers/Lifetimebound.apinotes
    M clang/test/APINotes/Inputs/Headers/Lifetimebound.h
    M clang/test/APINotes/lifetimebound.cpp

  Log Message:
  -----------
  [clang][APINotes] Do not add duplicate lifetimebound annotations (#117194)

In case a method already is lifetimebound annotated we should not add a
second annotation to the type.



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