[PATCH] D155523: [clang] Fix a crash when casting to an array type
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 17 21:15:47 PDT 2023
shafik added inline comments.
================
Comment at: clang/lib/Sema/SemaCast.cpp:458
+ case InitializationSequence::FK_ParenthesizedListInitFailed:
+ // In C++20, if the underlying destination type is a RecordType, then we
+ // attempt to perform parentesized aggregate initialization if constructor
----------------
Can you quote the sections in the standard that say this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155523/new/
https://reviews.llvm.org/D155523
More information about the cfe-commits
mailing list