Commit Graph

2 Commits

Author SHA1 Message Date
Ted Kremenek 37c777ecc0 [analyzer] Use 'MemRegion::printPretty()' instead of assuming the region is a VarRegion.
Fixes PR15358 and <rdar://problem/13295437>.

Along the way, shorten path diagnostics that say "Variable 'x'" to just
be "'x'".  By the context, it is obvious that we have a variable,
and so this just consumes text space.

llvm-svn: 176115
2013-02-26 19:44:38 +00:00
Anna Zaks 3c06d7f442 Add a test for checking that custom diagnostic visitors are working.
llvm-svn: 137970
2011-08-18 19:02:46 +00:00