Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / traceimpl_overloaded_error.cpp
blob07cab63e7af79eae5b31d162d5072420fff63bdb
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "traceimpl_overloaded_error.h"
7 namespace blink {
9 void ExternBase::trace(Visitor* visitor) {
10 traceImpl(visitor);
13 void ExternBase::trace(InlinedGlobalMarkingVisitor visitor) {
14 traceImpl(visitor);
17 template <typename VisitorDispatcher>
18 inline void ExternBase::traceImpl(VisitorDispatcher visitor) {
19 // Missing visitor->trace(x_base_).
22 void ExternDerived::trace(Visitor* visitor) {
23 traceImpl(visitor);
26 void ExternDerived::trace(InlinedGlobalMarkingVisitor visitor) {
27 traceImpl(visitor);
30 template <typename VisitorDispatcher>
31 inline void ExternDerived::traceImpl(VisitorDispatcher visitor) {
32 // Missing visitor->trace(x_derived_) and ExternBase::trace(visitor).