diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-10-24 04:54:22 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-10-24 04:54:22 +0000 |
commit | 39c16d445e8e3699d42b6f5c243559a63d789451 (patch) | |
tree | cc9b75043553b95bd36737e215b458fea9f7faca /clang/lib/Driver/TextDiagnosticBuffer.cpp | |
parent | c7796d347deb7cd9e9814987c17ce76dd52450eb (diff) | |
download | bcm5719-llvm-39c16d445e8e3699d42b6f5c243559a63d789451.tar.gz bcm5719-llvm-39c16d445e8e3699d42b6f5c243559a63d789451.zip |
First non-embarrassing cut at checking for ambiguous derived-to-base
conversions.
Added PerformImplicitConversion, which follows an implicit conversion sequence
computed by TryCopyInitialization and actually performs the implicit
conversions, including the extra check for ambiguity mentioned above.
llvm-svn: 58071
Diffstat (limited to 'clang/lib/Driver/TextDiagnosticBuffer.cpp')
-rw-r--r-- | clang/lib/Driver/TextDiagnosticBuffer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/TextDiagnosticBuffer.cpp b/clang/lib/Driver/TextDiagnosticBuffer.cpp index 1df93750f0d..26ac879dd04 100644 --- a/clang/lib/Driver/TextDiagnosticBuffer.cpp +++ b/clang/lib/Driver/TextDiagnosticBuffer.cpp @@ -14,7 +14,8 @@ #include "clang/Driver/TextDiagnosticBuffer.h" using namespace clang; -/// HandleDiagnostic - Store the errors & warnings that are reported. +/// HandleDiagnostic - Store the errors, warnings, and notes that are +/// reported. /// void TextDiagnosticBuffer::HandleDiagnostic(Diagnostic &Diags, Diagnostic::Level Level, |