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

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc

Issue 2589923002: Add a hardcoded list of methods that need a "Get" prefix. (Closed)
Patch Set: Rebasing... Created 4 years 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
Index: tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
index 4cbdc0e1fd0d64606877222761ba1bf93dbc46af..327d3b1ef371edafe2eb9dc7e9c4ee6c691a9efe 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
@@ -173,6 +173,10 @@ class BitVector {
class Baz {};
class FooBar {};
+ // Should be renamed to GetReadyState, because of
+ // ShouldPrefixFunctionName heuristic.
+ int GetReadyState() { return 123; }
+
template <typename T>
class MyRefPtr {};

Powered by Google App Engine
This is Rietveld 408576698