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 5a75da467def54c5fa367aa82f70304038769190..16b0415b2c3524860b201cb19c675ded1fd0364f 100644 |
--- a/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc |
+++ b/tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc |
@@ -258,6 +258,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) {} |