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

Side by Side Diff: tools/clang/blink_gc_plugin/tests/traceimpl_error.cpp

Issue 2655933002: blink_gc_plugin: retire overloaded traceImpl detection and handling. (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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "traceimpl_error.h" 5 #include "traceimpl_error.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 void TraceImplExternWithUntracedMember::Trace(Visitor* visitor) { 9 void TraceImplExternWithUntracedMember::Trace(Visitor* visitor) {
10 TraceImpl(visitor);
11 }
12
13 template <typename VisitorDispatcher>
14 inline void TraceImplExternWithUntracedMember::TraceImpl(
15 VisitorDispatcher visitor) {
16 // Should get a warning as well. 10 // Should get a warning as well.
17 } 11 }
18 12
19 void TraceImplExternWithUntracedBase::Trace(Visitor* visitor) { 13 void TraceImplExternWithUntracedBase::Trace(Visitor* visitor) {
20 TraceImpl(visitor);
21 }
22
23 template <typename VisitorDispatcher>
24 inline void TraceImplExternWithUntracedBase::TraceImpl(
25 VisitorDispatcher visitor) {
26 // Ditto. 14 // Ditto.
27 } 15 }
28 16
29 } 17 }
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/traceimpl_error.h ('k') | tools/clang/blink_gc_plugin/tests/traceimpl_error.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698