Home | History | Annotate | Download | only in Sema

Lines Matching refs:Decls

243       // 1) TagFriend to find undeclared friend decls
244 // 2) Namespace because they can't "overload" with tag decls.
246 // "overload" with tag decls.
323 assert(ResultKind != NotFound || Decls.size() == 0);
324 assert(ResultKind != Found || Decls.size() == 1);
325 assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
326 (Decls.size() == 1 &&
329 assert(ResultKind != Ambiguous || Decls.size() > 1 ||
330 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects ||
460 unsigned N = Decls.size();
472 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl();
497 NamedDecl *D = Decls[I]->getUnderlyingDecl();
502 Decls[I] = Decls[--N];
535 if (isPreferredLookupResult(getSema(), getLookupKind(), Decls[I],
536 Decls[*ExistingI]))
537 Decls[*ExistingI] = Decls[I];
538 Decls[I] = Decls[--N];
565 Decls[I] = Decls[--N];
587 NamedDecl *OtherDecl = Decls[UniqueTagIndex ? 0 : N - 1];
588 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) &&
589 getContextForScopeMatching(Decls[UniqueTagIndex])->Equals(
592 Decls[UniqueTagIndex] = Decls[--N];
603 Decls.set_size(N);
621 for (DeclContext::lookup_iterator DI = I->Decls.begin(),
622 DE = I->Decls.end(); DI != DE; ++DI)
643 Out << Decls.size() << " result(s)";
1065 // When performing a scope lookup, we want to find local extern decls.
1626 // When performing a scope lookup, we want to find local extern decls.
1834 Path.Decls = BaseRecord->lookup(Name);
1835 return !Path.Decls.empty();
2038 if (HasOnlyStaticMembers(Path->Decls.begin(), Path->Decls.end())) {
2040 DeclContext::lookup_iterator FirstD = FirstPath->Decls.begin();
2041 DeclContext::lookup_iterator CurrentD = Path->Decls.begin();
2043 while (FirstD != FirstPath->Decls.end() &&
2044 CurrentD != Path->Decls.end()) {
2053 if (FirstD == FirstPath->Decls.end() &&
2054 CurrentD == Path->Decls.end())
2069 if (HasOnlyStaticMembers(Path->Decls.begin(), Path->Decls.end()))
2081 for (auto *D : Paths.front().Decls) {
2133 /// @returns True if any decls were found (but possibly ambiguous)
2177 /// @returns True if any decls were found (but possibly ambiguous)
2226 DeclContext::lookup_iterator Found = Paths->front().Decls.begin();
2244 Decl *D = Path->Decls.front();
2674 for (const auto *D : ULE->decls()) {
3083 // Go through again and remove the raw and template decls we've
3134 NamedDecl *&Old = Decls[cast<NamedDecl>(New->getCanonicalDecl())];
3520 for (auto *D : S->decls()) {
3695 // Nothing to do if all decls are visible.
3963 // Store all of the Decls for overloaded symbols