diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-12-07 19:56:29 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-12-07 19:56:29 +0000 |
commit | afa7cae15b117c4b75794c6c32424953d94b4359 (patch) | |
tree | 4c4dc8bb7e558f468cf98285eeff9ff72d6497e2 /lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | |
parent | 18f860ee6cc43c8fc80834073b097eb5c02b22cf (diff) |
[analyzer] Fix r168019 to work with unpruned paths as well.
This is the case where the analyzer tries to print out source locations
for code within a synthesized function body, which of course does not have
a valid source location. The previous fix attempted to do this during
diagnostic path pruning, but some diagnostics have pruning disabled, and
so any diagnostic with a path that goes through a synthesized body will
either hit an assertion or emit invalid output.
<rdar://problem/12657843> (again)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp')
0 files changed, 0 insertions, 0 deletions