| Index: tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
|
| index c481a68ed4b16e30fdbf573f6dd7cfa1f3291a2c..c9a1fe8d4cb85257ff2f9df69854915c25b7d1f0 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/template-expected.cc
|
| @@ -140,4 +140,25 @@ struct Class2 {
|
|
|
| } // namespace test_template_arg_is_method_template_in_member_context
|
|
|
| +namespace test_unnamed_arg {
|
| +
|
| +template <typename T>
|
| +class Class {
|
| + public:
|
| + // Test for https://crbug.com/598141 - shouldn't rewrite
|
| + // ...int);
|
| + // into
|
| + // ...intdata_size;
|
| + void F(int);
|
| +};
|
| +
|
| +template <typename T>
|
| +void Class<T>::F(int data_size){};
|
| +
|
| +void Foo() {
|
| + Class<char>().F(123);
|
| +};
|
| +
|
| +} // namespace test_unnamed_arg
|
| +
|
| } // namespace blink
|
|
|