Clang now checks for missing cleanup actions.
This commit is contained in:
parent
ad1b09290d
commit
b7267e1553
@ -325,6 +325,8 @@ namespace {
|
||||
/*initializer*/E,
|
||||
/*mayContainAuto*/false
|
||||
);
|
||||
// Handle possible cleanups:
|
||||
Call = m_Sema->ActOnFinishFullExpr(Call.get());
|
||||
}
|
||||
}
|
||||
else if (desugaredTy->isIntegralOrEnumerationType()
|
||||
|
Loading…
x
Reference in New Issue
Block a user