[all-commits] [llvm/llvm-project] 02347f: Reapply "[Sema] Fix crash on invalid code with par...

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Tue Jan 2 07:13:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02347fc7191ff4d073f439dde6523add3f5496de
      https://github.com/llvm/llvm-project/commit/02347fc7191ff4d073f439dde6523add3f5496de
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M clang/lib/Sema/SemaInit.cpp
    A clang/test/SemaCXX/crash-GH76228.cpp
    M clang/test/SemaCXX/paren-list-agg-init.cpp
    M libcxx/test/libcxx/utilities/expected/expected.expected/transform_error.mandates.verify.cpp
    M libcxx/test/libcxx/utilities/expected/expected.void/transform_error.mandates.verify.cpp

  Log Message:
  -----------
  Reapply "[Sema] Fix crash on invalid code with parenthesized aggregate initialization" (#76272)

With updates the libc++ tests.

This reverts commit 2205d2334f3c859ad9f6c65ed950bfb3bb6f7cbe and relands
86dc6e15f22610bbb53eb4efda0a178ecefc933a and
7ab16fb5207fe187ab999f882069bd632d2e68e5.

Original commit was reverted because of failing libc++ tests, see #76232 for
the discussion.

The errors in the tests are spurious in the first place (coming from initialization
of invalid classes), so update the tests to match new behavior that does
not show those errors.




More information about the All-commits mailing list