Index: tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
diff --git a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
index e142dc2639c45afd7f2c4de72e8e0d8feb3899b8..3e18a280c40e9085490378d33d6ecff3d39bc06c 100644 |
--- a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
+++ b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
@@ -220,6 +220,7 @@ bool IsBlacklistedFunction(const clang::FunctionDecl& decl) { |
bool IsBlacklistedMethodName(llvm::StringRef name) { |
static const char* kBlacklistedNames[] = { |
+ "hash", |
"lock", "unlock", "try_lock", |
"begin", "end", "rbegin", "rend", |
}; |
@@ -349,6 +350,7 @@ bool ShouldPrefixFunctionName(const std::string& old_method_name) { |
"error", |
"fileUtilities", |
"font", |
+ "frameBlameContext", |
"iconURL", |
"inputMethodController", |
"inputType", |