Improve the diagnostics used to report implicitly-generated class members
as parts of overload sets. Also, refer to constructors as 'constructors'
rather than functions.
Adjust a lot of tests.
llvm-svn: 92832
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 87ebea7..7838bbe 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1032,6 +1032,7 @@
bool OnlyViable,
const char *Opc=0,
SourceLocation Loc=SourceLocation());
+ void NoteOverloadCandidate(FunctionDecl *Fn);
FunctionDecl *ResolveAddressOfOverloadedFunction(Expr *From, QualType ToType,
bool Complain);