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

Unified Diff: tools/clang/blink_gc_plugin/CheckDispatchVisitor.h

Issue 1709343002: Remove tools/clang (this will break things temporarily). Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/blink_gc_plugin/CMakeLists.txt ('k') | tools/clang/blink_gc_plugin/CheckDispatchVisitor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/blink_gc_plugin/CheckDispatchVisitor.h
diff --git a/tools/clang/blink_gc_plugin/CheckDispatchVisitor.h b/tools/clang/blink_gc_plugin/CheckDispatchVisitor.h
deleted file mode 100644
index d96193dd850db99cd5eddab130a13f615c44c0fd..0000000000000000000000000000000000000000
--- a/tools/clang/blink_gc_plugin/CheckDispatchVisitor.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef TOOLS_BLINK_GC_PLUGIN_CHECK_DISPATCH_VISITOR_H_
-#define TOOLS_BLINK_GC_PLUGIN_CHECK_DISPATCH_VISITOR_H_
-
-#include "clang/AST/RecursiveASTVisitor.h"
-
-class RecordInfo;
-
-// This visitor checks that a method contains within its body, a call to a
-// method on the provided receiver class. This is used to check manual
-// dispatching for trace and finalize methods.
-class CheckDispatchVisitor
- : public clang::RecursiveASTVisitor<CheckDispatchVisitor> {
- public:
- explicit CheckDispatchVisitor(RecordInfo* receiver);
-
- bool dispatched_to_receiver();
-
- bool VisitMemberExpr(clang::MemberExpr* member);
- bool VisitUnresolvedMemberExpr(clang::UnresolvedMemberExpr* member);
-
- private:
- RecordInfo* receiver_;
- bool dispatched_to_receiver_;
-};
-
-#endif // TOOLS_BLINK_GC_PLUGIN_CHECK_DISPATCH_VISITOR_H_
« no previous file with comments | « tools/clang/blink_gc_plugin/CMakeLists.txt ('k') | tools/clang/blink_gc_plugin/CheckDispatchVisitor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698