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

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

Issue 574473002: Cleanup reference to old WebKit namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | 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 <sys/param.h> 10 #include <sys/param.h>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 return true; 142 return true;
143 } 143 }
144 144
145 return false; 145 return false;
146 } 146 }
147 147
148 void ChromeClassTester::BuildBannedLists() { 148 void ChromeClassTester::BuildBannedLists() {
149 banned_namespaces_.push_back("std"); 149 banned_namespaces_.push_back("std");
150 banned_namespaces_.push_back("__gnu_cxx"); 150 banned_namespaces_.push_back("__gnu_cxx");
151 151
152 // We're in the process of renaming WebKit to blink.
153 // TODO(abarth): Remove WebKit once the rename is complete.
154 banned_namespaces_.push_back("WebKit");
155 banned_namespaces_.push_back("blink"); 152 banned_namespaces_.push_back("blink");
153 banned_namespaces_.push_back("WTF");
156 154
157 banned_directories_.push_back("third_party/"); 155 banned_directories_.push_back("third_party/");
158 banned_directories_.push_back("native_client/"); 156 banned_directories_.push_back("native_client/");
159 banned_directories_.push_back("breakpad/"); 157 banned_directories_.push_back("breakpad/");
160 banned_directories_.push_back("courgette/"); 158 banned_directories_.push_back("courgette/");
161 banned_directories_.push_back("pdf/"); 159 banned_directories_.push_back("pdf/");
162 banned_directories_.push_back("ppapi/"); 160 banned_directories_.push_back("ppapi/");
163 banned_directories_.push_back("usr/"); 161 banned_directories_.push_back("usr/");
164 banned_directories_.push_back("testing/"); 162 banned_directories_.push_back("testing/");
165 banned_directories_.push_back("v8/"); 163 banned_directories_.push_back("v8/");
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 PresumedLoc ploc = source_manager.getPresumedLoc(spelling_location); 306 PresumedLoc ploc = source_manager.getPresumedLoc(spelling_location);
309 if (ploc.isInvalid()) { 307 if (ploc.isInvalid()) {
310 // If we're in an invalid location, we're looking at things that aren't 308 // If we're in an invalid location, we're looking at things that aren't
311 // actually stated in the source. 309 // actually stated in the source.
312 return false; 310 return false;
313 } 311 }
314 312
315 *filename = ploc.getFilename(); 313 *filename = ploc.getFilename();
316 return true; 314 return true;
317 } 315 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698