HomePhabricator

[analyzer] NFC: Remove dead checks when computing DeclStmt construction region.

Description

[analyzer] NFC: Remove dead checks when computing DeclStmt construction region.

In CFG, every DeclStmt has exactly one decl, which is always a variable.

It is also pointless to check that the initializer is the constructor because
that's how construction contexts work now.

Details

Committed
dergachevFeb 14 2018, 6:30 PM
Parents
rC325200: Revert r325193 as it breaks buildbots
Branches
Unknown
Tags
Unknown