[cfe-commits] r140480 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
David Blaikie
dblaikie at gmail.com
Sun Sep 25 16:44:35 PDT 2011
Author: dblaikie
Date: Sun Sep 25 18:44:35 2011
New Revision: 140480
URL: http://llvm.org/viewvc/llvm-project?rev=140480&view=rev
Log:
Rename IgnoringDiagClient to IgnoringDiagConsumer as per issue 5397
Modified:
cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
Modified: cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/HTMLRewrite.cpp?rev=140480&r1=140479&r2=140480&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Sun Sep 25 18:44:35 2011
@@ -441,9 +441,9 @@
}
namespace {
-/// IgnoringDiagClient - This is a diagnostic client that just ignores all
+/// IgnoringDiagConsumer - This is a diagnostic client that just ignores all
/// diags.
-class IgnoringDiagClient : public DiagnosticConsumer {
+class IgnoringDiagConsumer : public DiagnosticConsumer {
void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
const DiagnosticInfo &Info) {
// Just ignore it.
@@ -494,7 +494,7 @@
// Temporarily change the diagnostics object so that we ignore any generated
// diagnostics from this pass.
DiagnosticsEngine TmpDiags(PP.getDiagnostics().getDiagnosticIDs(),
- new IgnoringDiagClient);
+ new IgnoringDiagConsumer);
// FIXME: This is a huge hack; we reuse the input preprocessor because we want
// its state, but we aren't actually changing it (we hope). This should really
More information about the cfe-commits
mailing list