Chromium Code Reviews| 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 d93d98629185ac53ee6ce00a043d29ee5f5862f5..be1aca5800e17ad6d980ad9040d07a7e6cd3d95f 100644 |
| --- a/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc |
| +++ b/tools/clang/rewrite_to_chrome_style/tests/fields-original.cc |
| @@ -150,6 +150,13 @@ struct GenericHashTraitsBase { |
| static const int kWeakHandlingFlag = TypeTrait2<T>::value ? 123 : 456; |
| }; |
| +template <int Format> |
| +struct IntermediateFormat { |
| + // Some type traits have int type. Example below is loosly based on |
|
dcheng
2017/01/05 04:18:52
Nit: loosely
Łukasz Anforowicz
2017/01/05 17:22:07
Ooops. Done.
|
| + // third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp |
| + static const int value = (Format == 123) ? 456 : 789; |
| +}; |
| + |
| }; // namespace WTF |
| void F() { |