aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-10-25 22:07:10 +0000
committerTed Kremenek <kremenek@apple.com>2012-10-25 22:07:10 +0000
commitb85cce094887ab5cf1c47acfe306e2fb1d3cfbb1 (patch)
treef11b2d3d2ec02167589f6f25ceca677631441527 /lib/CodeGen/CodeGenModule.cpp
parent0848333c398d1ddd9f4e3b60cccef6a1b2698f78 (diff)
TrackConstraintBRVisitor and ConditionBRVisitor can emit similar
path notes for cases where a value may be assumed to be null, etc. Instead of having redundant diagnostics, do a pass over the generated PathDiagnostic pieces and remove notes from TrackConstraintBRVisitor that are already covered by ConditionBRVisitor, whose notes tend to be better. Fixes <rdar://problem/12252783> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions