]> granicus.if.org Git - clang/commit
[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)
commit8713e1a5c3f6658d54061e176b5baa9fadf14675
tree5e3e896dee73942ce6e067908d5bb852142aa07d
parent9e2f5977a180ae927d05e844c65b8a7873be48a4
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179396 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
test/Analysis/inlining/path-notes.cpp