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

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

Issue 827693004: Blink GC plugin: improve handling of type dependent bases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp ('k') | tools/clang/blink_gc_plugin/RecordInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/blink_gc_plugin/RecordInfo.h
diff --git a/tools/clang/blink_gc_plugin/RecordInfo.h b/tools/clang/blink_gc_plugin/RecordInfo.h
index 7dd9a4eed52c5711460600718ef322e302c3d48e..d04ce9cd2c2e54421610e1dbe74d847e37865dce 100644
--- a/tools/clang/blink_gc_plugin/RecordInfo.h
+++ b/tools/clang/blink_gc_plugin/RecordInfo.h
@@ -100,9 +100,13 @@ class RecordInfo {
clang::CXXMethodDecl* InheritsNonVirtualTrace();
bool IsConsideredAbstract();
+ static clang::CXXRecordDecl* GetDependentTemplatedDecl(const clang::Type&);
+
private:
RecordInfo(clang::CXXRecordDecl* record, RecordCache* cache);
+ void walkBases();
+
Fields* CollectFields();
Bases* CollectBases();
void DetermineTracingMethods();
@@ -129,7 +133,8 @@ class RecordInfo {
clang::CXXMethodDecl* finalize_dispatch_method_;
bool is_gc_derived_;
- clang::CXXBasePaths* base_paths_;
+
+ std::vector<std::string> gc_base_names_;
friend class RecordCache;
};
« no previous file with comments | « tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp ('k') | tools/clang/blink_gc_plugin/RecordInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698