[cfe-commits] r140482 - /cfe/trunk/lib/ARCMigrate/ARCMT.cpp
David Blaikie
dblaikie at gmail.com
Sun Sep 25 16:54:33 PDT 2011
Author: dblaikie
Date: Sun Sep 25 18:54:33 2011
New Revision: 140482
URL: http://llvm.org/viewvc/llvm-project?rev=140482&view=rev
Log:
Rename CaptureDiagnosticClient to CaptureDiagnosticConsumer as per issue 5397
Modified:
cfe/trunk/lib/ARCMigrate/ARCMT.cpp
Modified: cfe/trunk/lib/ARCMigrate/ARCMT.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ARCMigrate/ARCMT.cpp?rev=140482&r1=140481&r2=140482&view=diff
==============================================================================
--- cfe/trunk/lib/ARCMigrate/ARCMT.cpp (original)
+++ cfe/trunk/lib/ARCMigrate/ARCMT.cpp Sun Sep 25 18:54:33 2011
@@ -88,11 +88,11 @@
namespace {
-class CaptureDiagnosticClient : public DiagnosticConsumer {
+class CaptureDiagnosticConsumer : public DiagnosticConsumer {
DiagnosticsEngine &Diags;
CapturedDiagList &CapturedDiags;
public:
- CaptureDiagnosticClient(DiagnosticsEngine &diags,
+ CaptureDiagnosticConsumer(DiagnosticsEngine &diags,
CapturedDiagList &capturedDiags)
: Diags(diags), CapturedDiags(capturedDiags) { }
@@ -236,7 +236,7 @@
new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false));
// Filter of all diagnostics.
- CaptureDiagnosticClient errRec(*Diags, capturedDiags);
+ CaptureDiagnosticConsumer errRec(*Diags, capturedDiags);
Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
llvm::OwningPtr<ASTUnit> Unit(
@@ -496,7 +496,7 @@
new DiagnosticsEngine(DiagID, DiagClient, /*ShouldOwnClient=*/false));
// Filter of all diagnostics.
- CaptureDiagnosticClient errRec(*Diags, capturedDiags);
+ CaptureDiagnosticConsumer errRec(*Diags, capturedDiags);
Diags->setClient(&errRec, /*ShouldOwnClient=*/false);
llvm::OwningPtr<ARCMTMacroTrackerAction> ASTAction;
More information about the cfe-commits
mailing list