Home | History | Annotate | Download | only in blink_gc_plugin

Lines Matching refs:it

69     for (TemplateArgs::iterator it = args.begin(); it != args.end(); ++it) {
70 if (CXXRecordDecl* decl = (*it)->getAsCXXRecordDecl())
118 for (const auto& it : base_record->bases()) {
119 const RecordType* type = it.getType()->getAs<RecordType>();
122 base = GetDependentTemplatedDecl(*it.getType());
160 // If it is not a mixin base we are done.
200 Cache::iterator it = cache_.find(record);
201 if (it != cache_.end())
202 return &it->second;
210 for (Bases::iterator it = GetBases().begin();
211 it != GetBases().end();
212 ++it) {
213 if (it->second.info()->IsStackAllocated()) {
218 for (CXXRecordDecl::method_iterator it = record_->method_begin();
219 it != record_->method_end();
220 ++it) {
221 if (it->getNameAsString() == kNewOperatorName &&
222 it->isDeleted() &&
223 Config::IsStackAnnotated(*it)) {
236 for (CXXRecordDecl::method_iterator it = record_->method_begin();
237 it != record_->method_end();
238 ++it) {
239 if (it->getNameAsString() == kNewOperatorName) {
240 deleted = it->isDeleted();
253 for (CXXRecordDecl::method_iterator it = record_->method_begin();
254 it != record_->method_end();
255 ++it) {
256 if (it->getNameAsString() == kNewOperatorName) {
257 if (it->getNumParams() == 1) {
258 new_deleted = it->isDeleted();
259 } else if (it->getNumParams() == 2) {
260 placement = !it->isDeleted();
270 for (CXXRecordDecl::method_iterator it = record_->method_begin();
271 it != record_->method_end();
272 ++it) {
273 if (it->getNameAsString() == kNewOperatorName && it->getNumParams() == 1)
274 return *it;
279 // An object requires a tracing method if it has any fields that need tracing
280 // or if it inherits from multiple bases that need tracing.
285 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) {
286 if (it->second.NeedsTracing().IsNeeded())
322 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) {
323 if (it->second.info()->InheritsTrace())
332 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) {
333 if (CXXMethodDecl* trace = it->second.info()->InheritsNonVirtualTrace())
350 for (auto it = record_->method_begin();
351 it != record_->method_end(); ++it) {
352 if (*it == trace_method_) {
361 // A (non-virtual) class is considered abstract in Blink if it has
364 for (CXXRecordDecl::ctor_iterator it = record_->ctor_begin();
365 it != record_->ctor_end();
366 ++it) {
367 if (!it->isCopyOrMoveConstructor() && it->getAccess() == AS_public)
370 for (CXXRecordDecl::method_iterator it = record_->method_begin();
371 it != record_->method_end();
372 ++it) {
373 if (it->getNameAsString() == kCreateName)
384 for (CXXRecordDecl::base_class_iterator it = record_->bases_begin();
385 it != record_->bases_end();
386 ++it) {
387 const CXXBaseSpecifier& spec = *it;
412 for (RecordDecl::field_iterator it = record_->field_begin();
413 it != record_->field_end();
414 ++it) {
415 FieldDecl* field = *it;
494 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) {
495 // TODO: Does it make sense to inherit multiple dispatch methods?
496 if (CXXMethodDecl* dispatch = it->second.info()->GetTraceDispatchMethod()) {
501 it->second.info()->GetFinalizeDispatchMethod()) {
513 // identifiable reason for it being true is the presence
515 // or we're processing such an 'ignorable' class, then it does
525 for (Fields::iterator it = GetFields().begin();
526 it != GetFields().end();
527 ++it) {
528 if (it->second.edge()->NeedsFinalization())
532 for (Bases::iterator it = GetBases().begin();
533 it != GetBases().end();
534 ++it) {
535 if (it->second.info()->NeedsFinalization())
546 // - it is allocated on the managed heap,
547 // - it is derived from a class that needs tracing, or
548 // - it contains fields that need tracing.
557 for (Bases::iterator it = GetBases().begin(); it != GetBases().end(); ++it) {
558 if (it->second.info()->NeedsTracing(option).IsNeeded())
602 // Don't mark iterator as being on the heap if it is not supported.
621 // If the type is neither a pointer or a C++ record we ignore it.
691 for (TemplateArgs::iterator it = args.begin(); it != args.end(); ++it) {
692 if (Edge* member = CreateEdge(*it)) {