[analyzer] Print a diagnostic note even if the region cannot be printed.
authorAnna Zaks <ganna@apple.com>
Fri, 12 Apr 2013 18:40:27 +0000 (18:40 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 12 Apr 2013 18:40:27 +0000 (18:40 +0000)
commit685e913d714b404fb76c8e6bdf6cab202b03356d
tree6047aee124dce88be43f205941bf982430207ea7
parent6cea7d9e5e2d7fc2a0111582863424279423e565
[analyzer] Print a diagnostic note even if the region cannot be printed.

There are few cases where we can track the region, but cannot print the note,
which makes the testing limited. (Though, I’ve tested this manually by making
all regions non-printable.) Even though the applicability is limited now, the enhancement
will be more relevant as we start tracking more regions.

llvm-svn: 179396
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/test/Analysis/inlining/path-notes.cpp