Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/fields-original.cc

Issue 2325563005: s/Value/value/g for type trait value field in WebGLImageConversion.cpp (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698