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

Unified Diff: tools/clang/blink_gc_plugin/tests/cycle_super_neg.cpp

Issue 207913002: Global cycle detection analysis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 6 years, 9 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/blink_gc_plugin/tests/cycle_super_neg.cpp
diff --git a/tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp b/tools/clang/blink_gc_plugin/tests/cycle_super_neg.cpp
similarity index 62%
copy from tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp
copy to tools/clang/blink_gc_plugin/tests/cycle_super_neg.cpp
index 85e05b7aae765b466f6cd146dd1c76e874711a21..755bf25842fc36fb4f25991399821b1abe185b9b 100644
--- a/tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp
+++ b/tools/clang/blink_gc_plugin/tests/cycle_super_neg.cpp
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "class_requires_finalization_base.h"
+#include "cycle_super_neg.h"
namespace WebCore {
-void NeedsFinalizer::trace(Visitor* visitor)
-{
+void B::trace(Visitor* visitor) {
A::trace(visitor);
}
-void DoesNotNeedFinalizer::trace(Visitor* visitor)
-{
+void D::trace(Visitor* visitor) {
+ visitor->trace(m_c);
A::trace(visitor);
}
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/cycle_super_neg.h ('k') | tools/clang/blink_gc_plugin/tests/cycle_super_neg.flags » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698