Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / traceimpl_error.cpp
blob041c565e54d45f6651d4c536d09b88f3cfef50f1
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_error.h"
7 namespace blink {
9 void TraceImplExternWithUntracedMember::trace(Visitor* visitor) {
10 traceImpl(visitor);
13 template <typename VisitorDispatcher>
14 inline void TraceImplExternWithUntracedMember::traceImpl(
15 VisitorDispatcher visitor) {
16 // Should get a warning as well.
19 void TraceImplExternWithUntracedBase::trace(Visitor* visitor) {
20 traceImpl(visitor);
23 template <typename VisitorDispatcher>
24 inline void TraceImplExternWithUntracedBase::traceImpl(
25 VisitorDispatcher visitor) {
26 // Ditto.