[cfe-commits] r105815 - in /cfe/trunk: 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

Chris Lattner clattner at apple.com
Sat Jun 12 23:06:54 PDT 2010


On Jun 10, 2010, at 10:57 PM, Jeffrey Yasskin wrote:

> Author: jyasskin
> Date: Fri Jun 11 00:57:47 2010
> New Revision: 105815
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=105815&view=rev
> Log:
> 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.

FYI, despite thinking that this is a terrible implementation of "best", I like the patch :)

-Chris



More information about the cfe-commits mailing list