diff options
author | John McCall <rjmccall@apple.com> | 2010-01-12 00:44:57 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-01-12 00:44:57 +0000 |
commit | 0d1da2298aaa8a01e7672cba6f4f2151640b5552 (patch) | |
tree | 3905bfcca99e5a4a48d53dec57244dec3f6c2495 /clang/lib/Sema/Sema.h | |
parent | 87be3617e3bf6ce34a417d9064649f4b315177a7 (diff) | |
download | bcm5719-llvm-0d1da2298aaa8a01e7672cba6f4f2151640b5552.tar.gz bcm5719-llvm-0d1da2298aaa8a01e7672cba6f4f2151640b5552.zip |
Introduce a specific representation for the ambiguous implicit conversion
sequence. Lots of small relevant changes. Fixes some serious problems with
ambiguous conversions; also possibly improves associated diagnostics.
llvm-svn: 93214
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index f463cbb7c89..00f6b2cd639 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1044,6 +1044,9 @@ public: SourceLocation Loc = SourceLocation()); void NoteOverloadCandidate(FunctionDecl *Fn); + void DiagnoseAmbiguousConversion(const ImplicitConversionSequence &ICS, + SourceLocation CaretLoc, + const PartialDiagnostic &PDiag); FunctionDecl *ResolveAddressOfOverloadedFunction(Expr *From, QualType ToType, bool Complain); |