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

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

Issue 270623009: Blink GC plugin: remove temporary exceptions for the TreeShared/Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « tools/clang/blink_gc_plugin/Config.h ('k') | tools/clang/blink_gc_plugin/RecordInfo.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This file provides a wrapper for CXXRecordDecl that accumulates GC related 5 // This file provides a wrapper for CXXRecordDecl that accumulates GC related
6 // information about a class. Accumulated information is memoized and the info 6 // information about a class. Accumulated information is memoized and the info
7 // objects are stored in a RecordCache. 7 // objects are stored in a RecordCache.
8 8
9 #ifndef TOOLS_BLINK_GC_PLUGIN_RECORD_INFO_H_ 9 #ifndef TOOLS_BLINK_GC_PLUGIN_RECORD_INFO_H_
10 #define TOOLS_BLINK_GC_PLUGIN_RECORD_INFO_H_ 10 #define TOOLS_BLINK_GC_PLUGIN_RECORD_INFO_H_
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bool GetTemplateArgs(size_t count, TemplateArgs* output_args); 85 bool GetTemplateArgs(size_t count, TemplateArgs* output_args);
86 86
87 bool IsHeapAllocatedCollection(); 87 bool IsHeapAllocatedCollection();
88 bool IsGCDerived(); 88 bool IsGCDerived();
89 bool IsGCAllocated(); 89 bool IsGCAllocated();
90 bool IsGCFinalized(); 90 bool IsGCFinalized();
91 bool IsGCMixin(); 91 bool IsGCMixin();
92 bool IsStackAllocated(); 92 bool IsStackAllocated();
93 bool IsNonNewable(); 93 bool IsNonNewable();
94 bool IsOnlyPlacementNewable(); 94 bool IsOnlyPlacementNewable();
95 bool IsTreeShared();
96 clang::CXXMethodDecl* DeclaresNewOperator(); 95 clang::CXXMethodDecl* DeclaresNewOperator();
97 96
98 bool RequiresTraceMethod(); 97 bool RequiresTraceMethod();
99 bool NeedsFinalization(); 98 bool NeedsFinalization();
100 TracingStatus NeedsTracing(Edge::NeedsTracingOption); 99 TracingStatus NeedsTracing(Edge::NeedsTracingOption);
101 clang::CXXMethodDecl* InheritsNonVirtualTrace(); 100 clang::CXXMethodDecl* InheritsNonVirtualTrace();
102 bool IsConsideredAbstract(); 101 bool IsConsideredAbstract();
103 102
104 private: 103 private:
105 RecordInfo(clang::CXXRecordDecl* record, RecordCache* cache); 104 RecordInfo(clang::CXXRecordDecl* record, RecordCache* cache);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 164 }
166 } 165 }
167 } 166 }
168 167
169 private: 168 private:
170 typedef std::map<clang::CXXRecordDecl*, RecordInfo> Cache; 169 typedef std::map<clang::CXXRecordDecl*, RecordInfo> Cache;
171 Cache cache_; 170 Cache cache_;
172 }; 171 };
173 172
174 #endif // TOOLS_BLINK_GC_PLUGIN_RECORD_INFO_H_ 173 #endif // TOOLS_BLINK_GC_PLUGIN_RECORD_INFO_H_
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/Config.h ('k') | tools/clang/blink_gc_plugin/RecordInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698