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

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: 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 f770362855c353fb14b5ca55373c9718ee1cc6dc..a302bcfcc08b11bd8a48772545d955b96a704462 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
@@ -172,6 +172,10 @@ class BitVector {
class Baz {};
class FooBar {};
+ // Should be renamed to GetReadyState, because of
+ // IsMethodNameLikelyToConflictWithTypeName heuristic.
+ int GetReadyState() { return 123; }
+
template <typename T>
class MyRefPtr {};

Powered by Google App Engine
This is Rietveld 408576698