| 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 327d3b1ef371edafe2eb9dc7e9c4ee6c691a9efe..ddc092eb4309689371e9d1216695e248583bb96f 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc
|
| @@ -50,10 +50,10 @@ class Task {
|
|
|
| // These are special functions that we don't rename so that range-based
|
| // for loops and STL things work.
|
| - MyIterator begin() {}
|
| - my_iterator end() {}
|
| - my_iterator rbegin() {}
|
| - MyIterator rend() {}
|
| + MyIterator begin() { return {}; }
|
| + my_iterator end() { return {}; }
|
| + my_iterator rbegin() { return {}; }
|
| + MyIterator rend() { return {}; }
|
| // The trace() method is used by Oilpan, but we plan to tweak the Oilpan's
|
| // clang plugin, so that it recognizes the new method name.
|
| void Trace() {}
|
| @@ -65,8 +65,8 @@ class Task {
|
|
|
| class Other {
|
| // Static begin/end/trace don't count, and should be renamed.
|
| - static MyIterator Begin() {}
|
| - static my_iterator End() {}
|
| + static MyIterator Begin() { return {}; }
|
| + static my_iterator End() { return {}; }
|
| static void Trace() {}
|
| static void Lock() {}
|
| };
|
|
|