[all-commits] [llvm/llvm-project] e59c6f: [LifetimeSafety] Add support for iterator arithmet...

NeKon69 via All-commits all-commits at lists.llvm.org
Tue May 5 12:44:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e59c6fe71b996f067a47b25693bdb5ac784e6f8c
      https://github.com/llvm/llvm-project/commit/e59c6fe71b996f067a47b25693bdb5ac784e6f8c
  Author: NeKon69 <nobodqwe at gmail.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
    M clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
    M clang/test/Sema/Inputs/lifetime-analysis.h
    M clang/test/Sema/warn-lifetime-safety-invalidations.cpp

  Log Message:
  -----------
  [LifetimeSafety] Add support for iterator arithmetic (#195442)

This PR adds origin propagation through iterator arithmetic.

It also adds a few tests to check the new behavior.

Closes #190140



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