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

Unified Diff: tools/clang/blink_gc_plugin/tests/pure_virtual_trace.h

Issue 278513005: Blink GC plugin: disallow pure-virtual trace methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove pure related code Created 6 years, 7 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/pure_virtual_trace.h
diff --git a/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.h b/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.h
index d0b67a3aada80b064775ab6963286e14e0a2f50e..b81f7e177bcef50257394085790ad9dfbb0be203 100644
--- a/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.h
+++ b/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PURE_VIRTUAL_BASE_H_
-#define PURE_VIRTUAL_BASE_H_
+#ifndef PURE_VIRTUAL_TRACE_H_
+#define PURE_VIRTUAL_TRACE_H_
#include "heap/stubs.h"
@@ -14,18 +14,6 @@ public:
virtual void trace(Visitor*) = 0;
};
-class B : public A {
-public:
- // Does not need a trace method.
-};
-
-class C : public B {
-public:
- void trace(Visitor*);
-private:
- Member<A> m_a;
-};
-
}
#endif
« no previous file with comments | « tools/clang/blink_gc_plugin/RecordInfo.cpp ('k') | tools/clang/blink_gc_plugin/tests/pure_virtual_trace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698