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

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

Issue 1647763002: rewrite_to_chrome_style: Don't rename begin()/end()/rbegin()/rend(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rewrite-begin-end: not-static-methods Created 4 years, 11 months 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/functions-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
index 72a10862fb218df5c2b0682c2d4e6dfb15f96221..31590cd570dc379bc07786d19b3a5b8b7d58099e 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
@@ -15,6 +15,10 @@ int TestFunctionThatTakesTwoInts(int x, int y) {
return TestFunctionThatTakesTwoInts(x - 1, y + 1);
}
+// This is named like the begin() method which isn't renamed, but
+// here it's not a method so it should be.
+void Begin() {}
+
// Note: F is already Google style and should not change.
void F() {
// Test referencing a function without calling it.

Powered by Google App Engine
This is Rietveld 408576698