HomePhabricator

[analyzer] Add scope information to CFG

Authored by m.ostapenko on Mar 12 2018, 5:26 AM.

Description

[analyzer] Add scope information to CFG

This patch adds two new CFG elements CFGScopeBegin and CFGScopeEnd that indicate
when a local scope begins and ends respectively. We use first VarDecl declared
in a scope to uniquely identify it and add CFGScopeBegin and CFGScopeEnd elements
into corresponding basic blocks.

Differential Revision: https://reviews.llvm.org/D16403

llvm-svn: 327258

Details

Committed
m.ostapenkoMar 12 2018, 5:26 AM
Differential Revision
D16403: Add scope information to CFG
Parents
rG11a6db30279a: [lld-link] For suppressible warnings, print the warning number.
Branches
Unknown
Tags
Unknown