diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-02-15 02:30:20 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-02-15 02:30:20 +0000 |
commit | e231bd342eacb2fe84af9d563c77ea4be5e1f250 (patch) | |
tree | c09aa9b5bee87445e6595c1870bb06c8246a4222 /llvm/lib/Object/Object.cpp | |
parent | b7b86127f5de6403382620d265025d1058c26bad (diff) | |
download | llvm-e231bd342eacb2fe84af9d563c77ea4be5e1f250.zip llvm-e231bd342eacb2fe84af9d563c77ea4be5e1f250.tar.gz llvm-e231bd342eacb2fe84af9d563c77ea4be5e1f250.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions