summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-05-16 04:20:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-05-16 04:20:04 +0000
commita5696dff5cff20f9a5faa3d5e98d067a3887aa66 (patch)
treefed22429ea477e1c2ca011d80126e2ee7bc1a825 /llvm/lib/VMCore/Function.cpp
parent0772ded251942a49ad2f6a3f744a477d6c877c91 (diff)
downloadbcm5719-llvm-a5696dff5cff20f9a5faa3d5e98d067a3887aa66.tar.gz
bcm5719-llvm-a5696dff5cff20f9a5faa3d5e98d067a3887aa66.zip
Include the correct conversion context locations for condition expressions.
This improves the conversion diagnostics (by correctly pointing to the loop construct for conversions that may've been caused by the contextual conversion to bool caused by a condition expression) and also causes the NULL conversion warnings to be correctly suppressed when crossing a macro boundary in such a context. (previously, since the conversion context location was incorrect, the suppression could not be performed) Reported by Nico Weber as feedback to r156826. llvm-svn: 156901
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud