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

Side by Side Diff: tools/clang/plugins/ChromeClassTester.cpp

Issue 1554533002: Mark methods with override in pdf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How did pdf/ escape the wrath of the Clang plugin? Created 4 years, 11 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 unified diff | Download patch
« pdf/out_of_process_instance.h ('K') | « pdf/preview_mode_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A general interface for filtering and only acting on classes in Chromium C++ 5 // A general interface for filtering and only acting on classes in Chromium C++
6 // code. 6 // code.
7 7
8 #include "ChromeClassTester.h" 8 #include "ChromeClassTester.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 banned_namespaces_.emplace("__gnu_cxx"); 224 banned_namespaces_.emplace("__gnu_cxx");
225 225
226 if (options_.enforce_in_thirdparty_webkit) { 226 if (options_.enforce_in_thirdparty_webkit) {
227 allowed_directories_.emplace("/third_party/WebKit/"); 227 allowed_directories_.emplace("/third_party/WebKit/");
228 } 228 }
229 229
230 banned_directories_.emplace("/third_party/"); 230 banned_directories_.emplace("/third_party/");
231 banned_directories_.emplace("/native_client/"); 231 banned_directories_.emplace("/native_client/");
232 banned_directories_.emplace("/breakpad/"); 232 banned_directories_.emplace("/breakpad/");
233 banned_directories_.emplace("/courgette/"); 233 banned_directories_.emplace("/courgette/");
234 banned_directories_.emplace("/pdf/");
Nico 2015/12/29 19:05:40 In general, we put changes like this behind a flag
Lei Zhang 2015/12/29 19:14:51 Sure, will do shortly.
235 banned_directories_.emplace("/ppapi/"); 234 banned_directories_.emplace("/ppapi/");
236 banned_directories_.emplace("/usr/include/"); 235 banned_directories_.emplace("/usr/include/");
237 banned_directories_.emplace("/usr/lib/"); 236 banned_directories_.emplace("/usr/lib/");
238 banned_directories_.emplace("/usr/local/include/"); 237 banned_directories_.emplace("/usr/local/include/");
239 banned_directories_.emplace("/usr/local/lib/"); 238 banned_directories_.emplace("/usr/local/lib/");
240 banned_directories_.emplace("/testing/"); 239 banned_directories_.emplace("/testing/");
241 banned_directories_.emplace("/v8/"); 240 banned_directories_.emplace("/v8/");
242 banned_directories_.emplace("/dart/"); 241 banned_directories_.emplace("/dart/");
243 banned_directories_.emplace("/sdch/"); 242 banned_directories_.emplace("/sdch/");
244 banned_directories_.emplace("/icu4c/"); 243 banned_directories_.emplace("/icu4c/");
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 } 328 }
330 329
331 *filename = ploc.getFilename(); 330 *filename = ploc.getFilename();
332 return true; 331 return true;
333 } 332 }
334 333
335 DiagnosticsEngine::Level ChromeClassTester::getErrorLevel() { 334 DiagnosticsEngine::Level ChromeClassTester::getErrorLevel() {
336 return diagnostic().getWarningsAsErrors() ? DiagnosticsEngine::Error 335 return diagnostic().getWarningsAsErrors() ? DiagnosticsEngine::Error
337 : DiagnosticsEngine::Warning; 336 : DiagnosticsEngine::Warning;
338 } 337 }
OLDNEW
« pdf/out_of_process_instance.h ('K') | « pdf/preview_mode_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698