summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/TextDiagnosticBuffer.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-10-24 04:54:22 +0000
committerDouglas Gregor <dgregor@apple.com>2008-10-24 04:54:22 +0000
commit39c16d445e8e3699d42b6f5c243559a63d789451 (patch)
treecc9b75043553b95bd36737e215b458fea9f7faca /clang/lib/Driver/TextDiagnosticBuffer.cpp
parentc7796d347deb7cd9e9814987c17ce76dd52450eb (diff)
downloadbcm5719-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.cpp3
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,
OpenPOWER on IntegriCloud