| Index: tools/clang/rewrite_to_chrome_style/tests/template-original.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/template-original.cc b/tools/clang/rewrite_to_chrome_style/tests/template-original.cc
|
| index 561fec42ddef08f44887994441c140fa5fc5a342..cf221881833bee9f0bd615eeebaec949e024643c 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/template-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/template-original.cc
|
| @@ -119,6 +119,25 @@ void test() {
|
|
|
| } // test_template_arg_is_method_template_in_non_member_context
|
|
|
| +namespace test_inherited_field {
|
| +
|
| +template <typename T>
|
| +class BaseClass {
|
| + public:
|
| + unsigned long m_size;
|
| +};
|
| +
|
| +template <typename T>
|
| +class DerivedClass : protected BaseClass<T> {
|
| + private:
|
| + using Base = BaseClass<T>;
|
| + // https://crbug.com/640016: Need to rewrite |m_size| into |size_|.
|
| + using Base::m_size;
|
| + void method() { m_size = 123; }
|
| +};
|
| +
|
| +} // namespace test_inherited_field
|
| +
|
| namespace test_template_arg_is_method_template_in_member_context {
|
|
|
| struct Class {
|
|
|