[all-commits] [llvm/llvm-project] c496aa: [clang] Fix a crash from nested ArrayInitLoopExpr ...

isuckatcs via All-commits all-commits at lists.llvm.org
Fri Sep 29 10:13:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c496aa34c0e82a4322143105fd4410cd05b49921
      https://github.com/llvm/llvm-project/commit/c496aa34c0e82a4322143105fd4410cd05b49921
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/AST/Interp/arrays.cpp
    M clang/test/AST/Interp/cxx20.cpp
    A clang/test/AST/nested-array-init-loop-in-lambda-capture.cpp

  Log Message:
  -----------
  [clang] Fix a crash from nested ArrayInitLoopExpr (#67722)

This patch makes sure that everything is cleaned up properly
when ExprConstant evaluates an ArrayInitLoopExpr.

Fixes #57135




More information about the All-commits mailing list