[all-commits] [llvm/llvm-project] 86dc6e: [Sema] Fix crash on invalid code with parenthesize...
Ilya Biryukov via All-commits
all-commits at lists.llvm.org
Fri Dec 22 04:11:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86dc6e15f22610bbb53eb4efda0a178ecefc933a
https://github.com/llvm/llvm-project/commit/86dc6e15f22610bbb53eb4efda0a178ecefc933a
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2023-12-22 (Fri, 22 Dec 2023)
Changed paths:
M clang/lib/Sema/SemaInit.cpp
A clang/test/SemaCXX/crash-GH76228.cpp
Log Message:
-----------
[Sema] Fix crash on invalid code with parenthesized aggregate initialization (#76232)
Fixes #76228.
Use the same logic as braced init lists, also adds a test that puts
incomplete types in various positions to check for regressions in the
future.
More information about the All-commits
mailing list