HomePhabricator

[analyzer] Remove incorrect workaround for unimplemented temporary destructors.

Authored by jordan_rose on Apr 1 2014, 9:39 AM.

Description

[analyzer] Remove incorrect workaround for unimplemented temporary destructors.

If we're trying to get the zero element region of something that's not a region,
we should be returning UnknownVal, which is what ProgramState::getLValue will
do for us.

Patch by Alex McCarthy!

llvm-svn: 205327

Details

Committed
jordan_roseApr 1 2014, 9:39 AM
Parents
rG398fb00e1ecf: [analyzer] Fix a CFG printing bug.
Branches
Unknown
Tags
Unknown