HomePhabricator

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

Authored by dergachev.a on Feb 14 2018, 6:30 PM.

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.

llvm-svn: 325201

Details

Committed
dergachev.aFeb 14 2018, 6:30 PM
Parents
rGb7b86127f5de: Revert r325193 as it breaks buildbots
Branches
Unknown
Tags
Unknown