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

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

Issue 2655943003: Rename references to type traits the same as we rename the traits. (Closed)
Patch Set: Created 3 years, 11 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-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 89bc554f1a03ce689c70f35ac092c7153cc90dde..0b540697f5261047b3bbaeadc23e59ca48dbbacc 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc
@@ -86,6 +86,11 @@ struct GloballyKnownTraits {
namespace WTF {
+void TestForTraits() {
+ bool a = blink::IsGarbageCollectedMixin::safe_to_compare_to_empty_or_deleted;
+ bool b = not_blink::GloballyKnownTraits::safe_to_compare_to_empty_or_deleted;
+}
+
// We don't want to capitalize fields in type traits
// (i.e. the |value| -> |kValue| rename is undesirable below).
struct TypeTrait1 {

Powered by Google App Engine
This is Rietveld 408576698