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

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

Issue 2256913002: Handling of DependentScopeDeclRefExpr and CXXDependentScopeMemberExpr nodes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink-style-new-clang
Patch Set: Tweaked a comment + fixed a typo. Created 4 years 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-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() {

Powered by Google App Engine
This is Rietveld 408576698