]> granicus.if.org Git - clang/commit
Add an option -fshow-overloads=best|all to limit the number of overload
authorJeffrey Yasskin <jyasskin@google.com>
Fri, 11 Jun 2010 05:57:47 +0000 (05:57 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Fri, 11 Jun 2010 05:57:47 +0000 (05:57 +0000)
commit5edbdcc62098e305cd55654814dcf783a3f3c477
tree80c61ffde36dd90c8efb52f88a3888889d14c88f
parent971154db24429b103280d15423b8c200cfb2380c
Add an option -fshow-overloads=best|all to limit the number of overload
candidates printed.  We default to 'all'.  At the moment, 'best' prints only
the first 4 overloads, but we'll improve that over time.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105815 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
include/clang/Frontend/DiagnosticOptions.h
lib/Basic/Diagnostic.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/Warnings.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/overloaded-builtin-operators.cpp