We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9a87b4 commit cf1abe6Copy full SHA for cf1abe6
clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
@@ -438,8 +438,7 @@ void AggExprEmitter::visitCXXParenListOrInitListExpr(
438
// Push a destructor if necessary.
439
// FIXME: if we have an array of structures, all explicitly
440
// initialized, we can end up pushing a linear number of cleanups.
441
- if (QualType::DestructionKind dtorKind =
442
- field->getType().isDestructedType()) {
+ if (field->getType().isDestructedType()) {
443
cgf.cgm.errorNYI(e->getSourceRange(),
444
"visitCXXParenListOrInitListExpr destructor");
445
return;
0 commit comments