aboutsummaryrefslogtreecommitdiff
path: root/unittests/AST/SourceLocationTest.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-11-08 20:50:02 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-11-08 20:50:02 +0000
commit45a37da030be06bb7babf5e65a64d62cd0def7e6 (patch)
treec133fffaa493ef15e18a6d366869fd6702a196f9 /unittests/AST/SourceLocationTest.cpp
parentc4497036cff93da286ae188cfd95aa3f01390c61 (diff)
Fix a bug I found while preparing my devmtg talk: When passing NULL to a
function that takes a const Foo&, where Foo is convertible from a large number of pointer types, we print ALL the overloads, no matter the setting of -fshow-overloads. There is potential follow-on work in unifying the "print candidates, but not too many" logic between OverloadCandidateSet::NoteCandidates and ImplicitConversionSequence::DiagnoseAmbiguousConversion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/AST/SourceLocationTest.cpp')
0 files changed, 0 insertions, 0 deletions