commit | d6471f7c1921c7802804ce3ff6fe9768310f72b9 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Sun Sep 25 23:23:43 2011 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Sun Sep 25 23:23:43 2011 +0000 |
tree | f8559e8ca7afb0328fab36e22a34e55ce566008d | |
parent | 026cb7604c8ef0bc7032e4c067500907d03b67a3 [diff] [blame] |
Rename Diagnostic to DiagnosticsEngine as per issue 5397 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140478 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp b/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp index c4619e3..e269892 100644 --- a/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp +++ b/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
@@ -267,7 +267,7 @@ void AnalysisConsumer::HandleCode(Decl *D) { // Don't run the actions if an error has occurred with parsing the file. - Diagnostic &Diags = PP.getDiagnostics(); + DiagnosticsEngine &Diags = PP.getDiagnostics(); if (Diags.hasErrorOccurred() || Diags.hasFatalErrorOccurred()) return;