Clang now checks for missing cleanup actions.

This commit is contained in:
Axel Naumann 2016-07-12 10:35:54 +02:00 committed by sftnight
parent ad1b09290d
commit b7267e1553

View File

@ -325,6 +325,8 @@ namespace {
/*initializer*/E,
/*mayContainAuto*/false
);
// Handle possible cleanups:
Call = m_Sema->ActOnFinishFullExpr(Call.get());
}
}
else if (desugaredTy->isIntegralOrEnumerationType()