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

Side by Side Diff: tools/clang/blink_gc_plugin/CheckTraceVisitor.h

Issue 1645763004: blink_gc_plugin: Make RecordInfo::Get{Fields,Bases} return deterministic order (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 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 #ifndef TOOLS_BLINK_GC_PLUGIN_CHECK_TRACE_VISITOR_H_ 5 #ifndef TOOLS_BLINK_GC_PLUGIN_CHECK_TRACE_VISITOR_H_
6 #define TOOLS_BLINK_GC_PLUGIN_CHECK_TRACE_VISITOR_H_ 6 #define TOOLS_BLINK_GC_PLUGIN_CHECK_TRACE_VISITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "RecordInfo.h" 10 #include "RecordInfo.h"
(...skipping 28 matching lines...) Expand all
39 clang::CXXDependentScopeMemberExpr* expr); 39 clang::CXXDependentScopeMemberExpr* expr);
40 bool CheckTraceBaseCall(clang::CallExpr* call); 40 bool CheckTraceBaseCall(clang::CallExpr* call);
41 bool CheckTraceFieldMemberCall(clang::CXXMemberCallExpr* call); 41 bool CheckTraceFieldMemberCall(clang::CXXMemberCallExpr* call);
42 bool CheckTraceFieldCall(const std::string& name, 42 bool CheckTraceFieldCall(const std::string& name,
43 clang::CXXRecordDecl* callee, 43 clang::CXXRecordDecl* callee,
44 clang::Expr* arg); 44 clang::Expr* arg);
45 bool CheckRegisterWeakMembers(clang::CXXMemberCallExpr* call); 45 bool CheckRegisterWeakMembers(clang::CXXMemberCallExpr* call);
46 46
47 bool IsWeakCallback() const; 47 bool IsWeakCallback() const;
48 48
49 void MarkTraced(RecordInfo::Fields::iterator it); 49 void MarkTraced(RecordInfo::Field& field);
50 void FoundField(clang::FieldDecl* field); 50 void FoundField(clang::FieldDecl* field);
51 void MarkAllWeakMembersTraced(); 51 void MarkAllWeakMembersTraced();
52 52
53 clang::CXXMethodDecl* trace_; 53 clang::CXXMethodDecl* trace_;
54 RecordInfo* info_; 54 RecordInfo* info_;
55 RecordCache* cache_; 55 RecordCache* cache_;
56 bool delegates_to_traceimpl_; 56 bool delegates_to_traceimpl_;
57 }; 57 };
58 58
59 #endif // TOOLS_BLINK_GC_PLUGIN_CHECK_TRACE_VISITOR_H_ 59 #endif // TOOLS_BLINK_GC_PLUGIN_CHECK_TRACE_VISITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698