diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-20 00:28:04 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-20 00:28:04 +0000 |
commit | 203a3ae7fcda0613641518e04f082355ba20420f (patch) | |
tree | b56ab92566a32e6df9373461a42173ed19cd9cfd | |
parent | 089f2794b848aefa734a89cab578d96a2c620a48 (diff) | |
download | chromium_src-203a3ae7fcda0613641518e04f082355ba20420f.zip chromium_src-203a3ae7fcda0613641518e04f082355ba20420f.tar.gz chromium_src-203a3ae7fcda0613641518e04f082355ba20420f.tar.bz2 |
Teach Clang plugin about blink namespace
We're in the process of renaming the WebKit namespace to blink. The Clang
plugin has special logic for the WebKit namespace, so we need to teach it about
the new name.
R=thakis
BUG=295096
Review URL: https://chromiumcodereview.appspot.com/24020005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224255 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | tools/clang/plugins/ChromeClassTester.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/clang/plugins/ChromeClassTester.cpp b/tools/clang/plugins/ChromeClassTester.cpp index ee8452d..e44e7da 100644 --- a/tools/clang/plugins/ChromeClassTester.cpp +++ b/tools/clang/plugins/ChromeClassTester.cpp @@ -140,9 +140,13 @@ bool ChromeClassTester::InImplementationFile(SourceLocation record_location) { void ChromeClassTester::BuildBannedLists() { banned_namespaces_.push_back("std"); banned_namespaces_.push_back("__gnu_cxx"); - banned_namespaces_.push_back("WebKit"); banned_namespaces_.push_back("WebTestRunner"); + // We're in the process of renaming WebKit to blink. + // TODO(abarth): Remove WebKit once the rename is complete. + banned_namespaces_.push_back("WebKit"); + banned_namespaces_.push_back("blink"); + banned_directories_.push_back("third_party/"); banned_directories_.push_back("native_client/"); banned_directories_.push_back("breakpad/"); |