[all-commits] [llvm/llvm-project] 996b09: [analyzer] Lambda capture non-POD type array

isuckatcs via All-commits all-commits at lists.llvm.org
Tue Jul 26 00:40:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 996b092c5e170786572e925345e502e5376feaee
      https://github.com/llvm/llvm-project/commit/996b092c5e170786572e925345e502e5376feaee
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M clang/include/clang/Analysis/CFG.h
    M clang/include/clang/Analysis/ConstructionContext.h
    M clang/lib/Analysis/CFG.cpp
    M clang/lib/Analysis/ConstructionContext.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
    M clang/test/Analysis/array-init-loop.cpp
    M clang/test/Analysis/lambdas.cpp

  Log Message:
  -----------
  [analyzer] Lambda capture non-POD type array

This patch introduces a new `ConstructionContext` for
lambda capture. This `ConstructionContext` allows the
analyzer to construct the captured object directly into
it's final region, and makes it possible to capture
non-POD arrays.

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




More information about the All-commits mailing list