[all-commits] [llvm/llvm-project] 73716b: [analyzer][NFC] Add tests for D132236

tomasz-kaminski-sonarsource via All-commits all-commits at lists.llvm.org
Mon Oct 3 06:43:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73716baa30ebc75783d2902e12accea35dec193a
      https://github.com/llvm/llvm-project/commit/73716baa30ebc75783d2902e12accea35dec193a
  Author: Tomasz Kamiński <tomasz.kamiński at sonarsource.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M clang/test/Analysis/NewDeleteLeaks.cpp
    A clang/test/Analysis/symbol-reaper-lambda.cpp
    M clang/test/Analysis/trivial-copy-struct.cpp

  Log Message:
  -----------
  [analyzer][NFC] Add tests for D132236

D132236 would have introduced regressions in the symbol lifetime
handling. However, the testsuite did not catch this, so here we have
some tests, which would have break if D132236 had landed.

This patch addresses the comment https://reviews.llvm.org/D132236#3753238

Co-authored-by: Balazs Benics <balazs.benics at sonarsource.com>

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D134941




More information about the All-commits mailing list