| 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 4279c1dd0f3e4f37bb58ec06352f678799e7b36b..92f54f83d3a68016cf06baee2f50f2607bc27ff6 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/methods-original.cc
|
| @@ -262,6 +262,14 @@ class Foo {
|
| // and should cover both instance and static methods as well as functions.
|
| int hash() const { return 123; }
|
| static int hash(const Foo& x) { return x.hash(); }
|
| +
|
| + // https://crbug.com672902: std-like names should not be rewritten.
|
| + void emplace_back(int x) {}
|
| + void push_back(int x) {}
|
| + int* back() { return nullptr; }
|
| + int* front() { return nullptr; }
|
| + void erase() {}
|
| + bool empty() { return true; }
|
| };
|
|
|
| void begin(int x) {}
|
|
|