| Index: tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc b/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| index 726c521584cdb40de74072f4f6e4ac8f8e18cec6..16c7b7dd8ed8daff43f0356ba8c5ae8bb1b21727 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc
|
| @@ -91,6 +91,12 @@ class TypeTrait2<void> {
|
| static const bool value = false;
|
| };
|
|
|
| +// We don't want to rewrite fields in type traits
|
| +// (i.e. the |Value| -> |kValue| rename is undesirable below).
|
| +struct TypeTrait3 {
|
| + static const bool Value = true;
|
| +};
|
| +
|
| // Some type traits have static methods. We should not perform
|
| // a |value| -> |kValue| rename in the type trait below.
|
| template <typename T, typename U>
|
|
|