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

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

Issue 2564663002: Skipping renaming of begin/end/etc. should be unconditional. (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-original.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
index bc9255bfaa296e37073972a00624430322fd0900..1f8f3a002e870b080c8b0d3ecd434045adb1ac8f 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
@@ -74,14 +74,6 @@ class Other {
static void lock() {}
};
-class NonIterators {
- // begin()/end() and friends are renamed if they don't return an iterator.
- void begin() {}
- int end() { return 0; }
- void rbegin() {}
- int rend() { return 0; }
-};
-
// Test that the actual method definition is also updated.
void Task::doTheWork() {
reallyDoTheWork();

Powered by Google App Engine
This is Rietveld 408576698