• Home
  • Raw
  • Download

Lines Matching refs:LookupResult

295 void LookupResult::configure() {  in configure()
324 bool LookupResult::sanity() const { in sanity()
342 void LookupResult::deletePaths(CXXBasePaths *Paths) { in deletePaths()
470 void LookupResult::resolveKind() { in resolveKind()
620 setAmbiguous(LookupResult::AmbiguousReference); in resolveKind()
622 ResultKind = LookupResult::FoundUnresolvedValue; in resolveKind()
624 ResultKind = LookupResult::FoundOverloaded; in resolveKind()
626 ResultKind = LookupResult::Found; in resolveKind()
629 void LookupResult::addDeclsFromBasePaths(const CXXBasePaths &P) { in addDeclsFromBasePaths()
637 void LookupResult::setAmbiguousBaseSubobjects(CXXBasePaths &P) { in setAmbiguousBaseSubobjects()
645 void LookupResult::setAmbiguousBaseSubobjectTypes(CXXBasePaths &P) { in setAmbiguousBaseSubobjectTypes()
653 void LookupResult::print(raw_ostream &Out) { in print()
664 LLVM_DUMP_METHOD void LookupResult::dump() { in dump()
673 static bool LookupBuiltin(Sema &S, LookupResult &R) { in LookupBuiltin()
828 static bool LookupDirect(Sema &S, LookupResult &R, const DeclContext *DC) { in LookupDirect()
921 CppNamespaceLookup(Sema &S, LookupResult &R, ASTContext &Context, in CppNamespaceLookup()
1019 FindLocalExternScope(LookupResult &R) in FindLocalExternScope()
1030 LookupResult &R;
1035 bool Sema::CppLookupName(LookupResult &R, Scope *S) { in CppLookupName()
1521 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { in isVisibleSlow()
1590 return LookupResult::isVisible(*this, const_cast<NamedDecl*>(D)); in isVisibleSlow()
1593 bool Sema::shouldLinkPossiblyHiddenDecl(LookupResult &R, const NamedDecl *New) { in shouldLinkPossiblyHiddenDecl()
1610 assert(!LookupResult::isVisible(SemaRef, D) && "not in slow case"); in findAcceptableDecl()
1621 if (LookupResult::isVisible(SemaRef, ND)) in findAcceptableDecl()
1647 NamedDecl *LookupResult::getAcceptableDeclSlow(NamedDecl *D) const { in getAcceptableDeclSlow()
1696 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) { in LookupName()
1833 static bool LookupQualifiedNameInUsingDirectives(Sema &S, LookupResult &R, in LookupQualifiedNameInUsingDirectives()
1863 LookupResult LocalR(LookupResult::Temporary, R); in LookupQualifiedNameInUsingDirectives()
1872 LookupResult &DirectR = UseLocal ? LocalR : R; in LookupQualifiedNameInUsingDirectives()
1978 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName()
2195 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName()
2224 bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS, in LookupParsedName()
2268 bool Sema::LookupInSuper(LookupResult &R, CXXRecordDecl *Class) { in LookupInSuper()
2276 LookupResult Result(*this, R.getLookupNameInfo(), R.getLookupKind()); in LookupInSuper()
2301 void Sema::DiagnoseAmbiguousLookup(LookupResult &Result) { in DiagnoseAmbiguousLookup()
2309 case LookupResult::AmbiguousBaseSubobjects: { in DiagnoseAmbiguousLookup()
2325 case LookupResult::AmbiguousBaseSubobjectTypes: { in DiagnoseAmbiguousLookup()
2341 case LookupResult::AmbiguousTagHiding: { in DiagnoseAmbiguousLookup()
2357 LookupResult::Filter F = Result.makeFilter(); in DiagnoseAmbiguousLookup()
2366 case LookupResult::AmbiguousReference: { in DiagnoseAmbiguousLookup()
2782 LookupResult R(*this, Name, Loc, NameKind, Redecl); in LookupSingleName()
2806 LookupResult Operators(*this, OpName, SourceLocation(), LookupOperatorName); in LookupOverloadedOperatorName()
3111 Sema::LookupLiteralOperator(Scope *S, LookupResult &R, in LookupLiteralOperator()
3116 assert(R.getResultKind() != LookupResult::Ambiguous && in LookupLiteralOperator()
3120 LookupResult::Filter F = R.makeFilter(); in LookupLiteralOperator()
3200 for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I) in LookupLiteralOperator()
3434 static void LookupVisibleDecls(DeclContext *Ctx, LookupResult &Result, in LookupVisibleDecls()
3593 static void LookupVisibleDecls(Scope *S, LookupResult &Result, in LookupVisibleDecls()
3629 LookupResult IvarResult(Result.getSema(), Result.getLookupName(), in LookupVisibleDecls()
3695 LookupResult Result(*this, DeclarationName(), SourceLocation(), Kind); in LookupVisibleDecls()
3707 LookupResult Result(*this, DeclarationName(), SourceLocation(), Kind); in LookupVisibleDecls()
3761 LookupResult &Res,
3779 if (!LookupResult::isVisible(SemaRef, *DI)) in checkCorrectionVisibility()
3790 if (!LookupResult::isVisible(SemaRef, *DI)) in checkCorrectionVisibility()
3869 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo && in FoundDecl()
4024 case LookupResult::NotFound: in resolveCorrection()
4025 case LookupResult::NotFoundInCurrentInstantiation: in resolveCorrection()
4026 case LookupResult::FoundUnresolvedValue: in resolveCorrection()
4043 case LookupResult::Ambiguous: in resolveCorrection()
4047 case LookupResult::Found: in resolveCorrection()
4048 case LookupResult::FoundOverloaded: in resolveCorrection()
4103 case LookupResult::Found: in performQualifiedLookups()
4104 case LookupResult::FoundOverloaded: { in performQualifiedLookups()
4117 for (LookupResult::iterator TRD = Result.begin(), TRDEnd = Result.end(); in performQualifiedLookups()
4131 case LookupResult::NotFound: in performQualifiedLookups()
4132 case LookupResult::NotFoundInCurrentInstantiation: in performQualifiedLookups()
4133 case LookupResult::Ambiguous: in performQualifiedLookups()
4134 case LookupResult::FoundUnresolvedValue: in performQualifiedLookups()
4263 LookupResult &Res, in LookupPotentialTypoResult()
5111 LookupResult R(*this, Name, LookupAnyName, Sema::NotForRedeclaration); in ActOnPragmaDump()