Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1772)

Unified Diff: trunk/src/tools/clang/plugins/ChromeClassTester.cpp

Issue 203313004: Revert 257618 "roll clang 198389:202554" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/tools/clang/blink_gc_plugin/Makefile ('k') | trunk/src/tools/clang/scripts/package.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « trunk/src/tools/clang/blink_gc_plugin/Makefile ('k') | trunk/src/tools/clang/scripts/package.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698