Chromium Code Reviews| Index: tools/clang/rewrite_to_chrome_style/tests/functions-original.cc |
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc b/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc |
| index c4b1800db98e5f984f15700f4d6dbc54d7ffd3ea..9d7e91f4f3df5209ba4e02154ae0686e617492c3 100644 |
| --- a/tools/clang/rewrite_to_chrome_style/tests/functions-original.cc |
| +++ b/tools/clang/rewrite_to_chrome_style/tests/functions-original.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() {} |
|
dcheng
2016/01/28 06:58:12
Hopefully there are no uses of non-member begin()
danakj
2016/01/28 19:47:58
Ya, but better safe than sorry? :)
|
| + |
| // Note: F is already Google style and should not change. |
| void F() { |
| // Test referencing a function without calling it. |