Lines Matching full:decls
240 // 1) TagFriend to find undeclared friend decls
241 // 2) Namespace because they can't "overload" with tag decls.
243 // "overload" with tag decls.
320 assert(ResultKind != NotFound || Decls.size() == 0);
321 assert(ResultKind != Found || Decls.size() == 1);
322 assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
323 (Decls.size() == 1 &&
326 assert(ResultKind != Ambiguous || Decls.size() > 1 ||
327 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects ||
341 unsigned N = Decls.size();
352 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl();
374 NamedDecl *D = Decls[I]->getUnderlyingDecl();
379 Decls[I] = Decls[--N];
393 Decls[I] = Decls[--N];
402 Decls[I] = Decls[--N];
439 if (Decls[UniqueTagIndex]->getDeclContext()->getRedeclContext()->Equals(
440 Decls[UniqueTagIndex? 0 : N-1]->getDeclContext()->getRedeclContext()))
441 Decls[UniqueTagIndex] = Decls[--N];
446 Decls.set_size(N);
464 for (DeclContext::lookup_iterator DI = I->Decls.begin(),
465 DE = I->Decls.end(); DI != DE; ++DI)
486 Out << Decls.size() << " result(s)";
1473 Path.Decls = BaseRecord->lookup(N);
1474 return !Path.Decls.empty();
1660 if (HasOnlyStaticMembers(Path->Decls.begin(), Path->Decls.end())) {
1662 DeclContext::lookup_iterator FirstD = FirstPath->Decls.begin();
1663 DeclContext::lookup_iterator CurrentD = Path->Decls.begin();
1665 while (FirstD != FirstPath->Decls.end() &&
1666 CurrentD != Path->Decls.end()) {
1675 if (FirstD == FirstPath->Decls.end() &&
1676 CurrentD == Path->Decls.end())
1691 if (HasOnlyStaticMembers(Path->Decls.begin(), Path->Decls.end()))
1703 DeclContext::lookup_result DR = Paths.front().Decls;
1731 /// @returns True if any decls were found (but possibly ambiguous)
1785 DeclContext::lookup_iterator Found = Paths->front().Decls.begin();
1804 Decl *D = Path->Decls.front();
2699 // Go through again and remove the raw and template decls we've
2749 NamedDecl *&Old = Decls[cast<NamedDecl>(New->getCanonicalDecl())];
4119 // Store all of the Decls for overloaded symbols