HomePhabricator

[clang-tidy][NFCI] DanglingHandleCheck: Remove a superflous IgnoreParenImpCasts

Description

[clang-tidy][NFCI] DanglingHandleCheck: Remove a superflous IgnoreParenImpCasts

ExprWithCleanups is currently not skipped by IgnoreParenImpCasts, but is skipped
by IgnoreImpCasts. In view of fixing this inconsistency in D57267, remove the
IgnoreParenImpCasts between the ReturnStmt and the ExprWithCleanups which
is not needed since ExprWithCleanups is always created as a direct child of
ReturnStmt (by inspection of each ReturnStmt::Create in Sema/SemaStmt.cpp).

NFC intended.

Details

Committed
brunoricciFeb 17 2019, 10:21 AM
Branches
Unknown
Tags
Unknown