[all-commits] [llvm/llvm-project] 6931d3: [analyzer] Cleanup some artifacts from non-POD arr...

isuckatcs via All-commits all-commits at lists.llvm.org
Sat Sep 17 13:46:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6931d311eaf483b35d5428ef6db15c0ba9e49840
      https://github.com/llvm/llvm-project/commit/6931d311eaf483b35d5428ef6db15c0ba9e49840
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2022-09-17 (Sat, 17 Sep 2022)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp

  Log Message:
  -----------
  [analyzer] Cleanup some artifacts from non-POD array evaluation

Most of the state traits used for non-POD array evaluation were
only cleaned up if the ctors/dtors were inlined, since the cleanup
happened in ExprEngine::processCallExit(). This patch makes sure
they are removed even if said functions are not inlined.

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




More information about the All-commits mailing list