commit | 4238f41d484729aca260140fbbc53a68769bf60a | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Feb 26 19:44:38 2013 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Feb 26 19:44:38 2013 +0000 |
tree | b985488d66c1d4f0305a3d2bde872977fb7e2b5e | |
parent | 9016bb771265a10f188c76342254badecc695253 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176115 91177308-0d34-0410-b5e6-96231b3b80d8