diff options
author | David Blaikie <dblaikie@gmail.com> | 2011-09-25 23:39:51 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2011-09-25 23:39:51 +0000 |
commit | 78ad0b98848c17a0a11847fa1d456e2dfec8aa2f (patch) | |
tree | 80cd0f2f026558c7fdb2a0ab4a7b7595c006408f /lib/Frontend/VerifyDiagnosticsClient.cpp | |
parent | d6471f7c1921c7802804ce3ff6fe9768310f72b9 (diff) |
Rename DiagnosticClient to DiagnosticConsumer as per issue 5397
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/VerifyDiagnosticsClient.cpp')
-rw-r--r-- | lib/Frontend/VerifyDiagnosticsClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/VerifyDiagnosticsClient.cpp b/lib/Frontend/VerifyDiagnosticsClient.cpp index aaac282fe6..c3a236fad4 100644 --- a/lib/Frontend/VerifyDiagnosticsClient.cpp +++ b/lib/Frontend/VerifyDiagnosticsClient.cpp @@ -35,7 +35,7 @@ VerifyDiagnosticsClient::~VerifyDiagnosticsClient() { delete PrimaryClient; } -// DiagnosticClient interface. +// DiagnosticConsumer interface. void VerifyDiagnosticsClient::BeginSourceFile(const LangOptions &LangOpts, const Preprocessor *PP) { @@ -483,7 +483,7 @@ void VerifyDiagnosticsClient::CheckDiagnostics() { // Ensure any diagnostics go to the primary client. bool OwnsCurClient = Diags.ownsClient(); - DiagnosticClient *CurClient = Diags.takeClient(); + DiagnosticConsumer *CurClient = Diags.takeClient(); Diags.setClient(PrimaryClient, false); // If we have a preprocessor, scan the source for expected diagnostic |