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

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

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 side-by-side diff with in-line comments
Download patch
Index: tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
diff --git a/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h b/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
index 21b9978970c9250a37a29882e794a254a583b864..e5ebdd5e628463b409ee6ba851b11bc2a5c1a393 100644
--- a/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
+++ b/tools/clang/blink_gc_plugin/tests/traceimpl_derived_from_templated_base.h
@@ -11,18 +11,18 @@ namespace blink {
class X : public GarbageCollected<X> {
public:
- virtual void trace(Visitor*) {}
+ virtual void Trace(Visitor*) {}
};
template <int Y>
class TraceImplTemplatedBase
: public GarbageCollected<TraceImplTemplatedBase<Y> > {
public:
- void trace(Visitor* visitor) { traceImpl(visitor); }
+ void Trace(Visitor* visitor) { TraceImpl(visitor); }
template <typename VisitorDispatcher>
- void traceImpl(VisitorDispatcher visitor) {
- visitor->trace(x_);
+ void TraceImpl(VisitorDispatcher visitor) {
+ visitor->Trace(x_);
}
private:
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/traceimpl_dependent_scope.txt ('k') | tools/clang/blink_gc_plugin/tests/traceimpl_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698