[all-commits] [llvm/llvm-project] 771ad1: [Clang] Fix a crash when recursively callig a defa...

cor3ntin via All-commits all-commits at lists.llvm.org
Mon May 1 14:21:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 771ad1691ac3057df2220dd327d7cdc73ef6c6f5
      https://github.com/llvm/llvm-project/commit/771ad1691ac3057df2220dd327d7cdc73ef6c6f5
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp

  Log Message:
  -----------
  [Clang] Fix a crash when recursively callig a default member initializer.

This fixes a regression introduced by ca61961380, that would lead
to a segfault due to stack exhaustion when recursively calling
a default member initializer.

Fixes #60082

I'm not able to  get clang to emit a stack exhaustion warning,
which it seems like it should be able to.

Reviewed By: shafik

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




More information about the All-commits mailing list