Commit Graph

2 Commits

Author SHA1 Message Date
Artem Dergachev fec4c1a101 [analyzer] Fix size_t in tests.
Should fix a buildbot. No functional change intended.

llvm-svn: 337231
2018-07-17 01:39:25 +00:00
Artem Dergachev 35dbd0b1ff [analyzer] pr37802: Fix symbolic-pointer-to-boolean casts during load.
The canonical representation of pointer &SymRegion{$x} casted to boolean is
"$x != 0", not "$x". Assertion added in r337227 catches that.

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

llvm-svn: 337228
2018-07-17 00:42:35 +00:00