summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/HTMLRewrite.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-09-25 23:44:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-09-25 23:44:35 +0000
commit2cb2a836eb81ffbac3de96a9772351db6c709826 (patch)
tree78496a200cce86cf101bb6f4c0a9d7603ec29aab /clang/lib/Rewrite/HTMLRewrite.cpp
parente2eefaecc8f56696ceabc231610b460979da93ee (diff)
downloadbcm5719-llvm-2cb2a836eb81ffbac3de96a9772351db6c709826.tar.gz
bcm5719-llvm-2cb2a836eb81ffbac3de96a9772351db6c709826.zip
Rename IgnoringDiagClient to IgnoringDiagConsumer as per issue 5397
llvm-svn: 140480
Diffstat (limited to 'clang/lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r--clang/lib/Rewrite/HTMLRewrite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Rewrite/HTMLRewrite.cpp b/clang/lib/Rewrite/HTMLRewrite.cpp
index ac5ca8c161f..1bdcddab534 100644
--- a/clang/lib/Rewrite/HTMLRewrite.cpp
+++ b/clang/lib/Rewrite/HTMLRewrite.cpp
@@ -441,9 +441,9 @@ void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) {
}
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 @@ void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
// 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
OpenPOWER on IntegriCloud