]> granicus.if.org Git - clang/commit
[analyzer] Ensure that pieces with invalid locations always get removed from the...
authorAnna Zaks <ganna@apple.com>
Thu, 6 Jun 2013 22:02:58 +0000 (22:02 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 6 Jun 2013 22:02:58 +0000 (22:02 +0000)
commit6838710779a23ea5dfdb5764ad7b7a7451b00bf8
treee47be39bfec521e736e3b3cf34491712b4c87be4
parent5955c37230046e8c297f5afb9f91b7c8c1e18446
[analyzer] Ensure that pieces with invalid locations always get removed from the BugReport

The function in which we were doing it used to be conditionalized. Add a new unconditional
cleanup step.

This fixes PR16227 (radar://14073870) - a crash when generating html output for one of the test files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/BugReporter.cpp
test/Analysis/unix-fns.c