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

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

Issue 2578103003: Add use-chromium-style-naming option to Blink GC plugin. (Closed)
Patch Set: Rebase Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.h" 5 #include "traceimpl.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 void TraceImplExtern::trace(Visitor* visitor) { 9 void TraceImplExtern::Trace(Visitor* visitor) {
10 traceImpl(visitor); 10 TraceImpl(visitor);
11 } 11 }
12 12
13 template <typename VisitorDispatcher> 13 template <typename VisitorDispatcher>
14 inline void TraceImplExtern::traceImpl(VisitorDispatcher visitor) { 14 inline void TraceImplExtern::TraceImpl(VisitorDispatcher visitor) {
15 visitor->trace(x_); 15 visitor->Trace(x_);
16 } 16 }
17 17
18 void TraceImplBaseExtern::trace(Visitor* visitor) { 18 void TraceImplBaseExtern::Trace(Visitor* visitor) {
19 traceImpl(visitor); 19 TraceImpl(visitor);
20 } 20 }
21 21
22 template <typename VisitorDispatcher> 22 template <typename VisitorDispatcher>
23 inline void TraceImplBaseExtern::traceImpl(VisitorDispatcher visitor) { 23 inline void TraceImplBaseExtern::TraceImpl(VisitorDispatcher visitor) {
24 visitor->trace(x_); 24 visitor->Trace(x_);
25 Base::trace(visitor); 25 Base::Trace(visitor);
26 } 26 }
27 27
28 } 28 }
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/traceimpl.h ('k') | tools/clang/blink_gc_plugin/tests/traceimpl_dependent_scope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698