| Index: trunk/src/tools/clang/plugins/ChromeClassTester.cpp
|
| ===================================================================
|
| --- trunk/src/tools/clang/plugins/ChromeClassTester.cpp (revision 257619)
|
| +++ trunk/src/tools/clang/plugins/ChromeClassTester.cpp (working copy)
|
| @@ -110,11 +110,11 @@
|
| std::string err;
|
| err = "[chromium-style] ";
|
| err += raw_error;
|
| - DiagnosticIDs::Level level =
|
| + DiagnosticsEngine::Level level =
|
| diagnostic().getWarningsAsErrors() ?
|
| - DiagnosticIDs::Error :
|
| - DiagnosticIDs::Warning;
|
| - unsigned id = diagnostic().getDiagnosticIDs()->getCustomDiagID(level, err);
|
| + DiagnosticsEngine::Error :
|
| + DiagnosticsEngine::Warning;
|
| + unsigned id = diagnostic().getCustomDiagID(level, err);
|
| DiagnosticBuilder builder = diagnostic().Report(full, id);
|
| }
|
|
|
|
|