Index: tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
diff --git a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
index faef4ec41c625661bd115cd8c9e2a05783d75349..e0f87b1b685388b8d0cf68da6b75af3e06681277 100644 |
--- a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
+++ b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
@@ -145,6 +145,14 @@ struct LifetimeOf { |
!kIsGarbageCollected ? kRefCountedLifetime : kGarbageCollectedLifetime; |
}; |
+template <typename T> |
+struct GenericHashTraitsBase { |
+ // We don't want to capitalize fields in type traits |
+ // (i.e. the |value| -> |kValue| rename is undesirable below). |
+ // This problem is prevented by IsCallee heuristic. |
+ static const int kWeakHandlingFlag = TypeTrait2<T>::value ? 123 : 456; |
+}; |
+ |
}; // namespace WTF |
void F() { |