Lines Matching refs:LookupResult
287 void LookupResult::configure() {
316 bool LookupResult::sanity() const {
334 void LookupResult::deletePaths(CXXBasePaths *Paths) {
354 void LookupResult::resolveKind() {
466 setAmbiguous(LookupResult::AmbiguousReference);
468 ResultKind = LookupResult::FoundUnresolvedValue;
470 ResultKind = LookupResult::FoundOverloaded;
472 ResultKind = LookupResult::Found;
475 void LookupResult::addDeclsFromBasePaths(const CXXBasePaths &P) {
483 void LookupResult::setAmbiguousBaseSubobjects(CXXBasePaths &P) {
491 void LookupResult
499 void LookupResult::print(raw_ostream &Out) {
512 static bool LookupBuiltin(Sema &S, LookupResult &R) {
665 static bool LookupDirect(Sema &S, LookupResult &R, const DeclContext *DC) {
759 CppNamespaceLookup(Sema &S, LookupResult &R, ASTContext &Context,
860 FindLocalExternScope(LookupResult &R)
871 LookupResult &R;
876 bool Sema::CppLookupName(LookupResult &R, Scope *S) {
1231 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) {
1269 assert(!LookupResult::isVisible(SemaRef, D) && "not in slow case");
1273 if (LookupResult::isVisible(SemaRef, ND))
1281 NamedDecl *LookupResult::getAcceptableDeclSlow(NamedDecl *D) const {
1313 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
1450 static bool LookupQualifiedNameInUsingDirectives(Sema &S, LookupResult &R,
1480 LookupResult LocalR(LookupResult::Temporary, R);
1489 LookupResult &DirectR = UseLocal ? LocalR : R;
1597 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
1799 LookupResult &R, Scope *S, CXXScopeSpec *SS,
1835 void Sema::DiagnoseAmbiguousLookup(LookupResult &Result) {
1843 case LookupResult::AmbiguousBaseSubobjects: {
1859 case LookupResult::AmbiguousBaseSubobjectTypes: {
1875 case LookupResult::AmbiguousTagHiding: {
1880 LookupResult::iterator DI, DE = Result.end();
1892 LookupResult::Filter F = Result.makeFilter();
1901 case LookupResult::AmbiguousReference: {
1904 LookupResult::iterator DI = Result.begin(), DE = Result.end();
2319 LookupResult R(*this, Name, Loc, NameKind, Redecl);
2343 LookupResult Operators(*this, OpName, SourceLocation(), LookupOperatorName);
2646 Sema::LookupLiteralOperator(Scope *S, LookupResult &R,
2651 assert(R.getResultKind() != LookupResult::Ambiguous &&
2655 LookupResult::Filter F = R.makeFilter();
2735 for (LookupResult::iterator I = R.begin(), E = R.end(); I != E; ++I)
2974 static void LookupVisibleDecls(DeclContext *Ctx, LookupResult &Result,
3105 static void LookupVisibleDecls(Scope *S, LookupResult &Result,
3141 LookupResult IvarResult(Result.getSema(), Result.getLookupName(),
3209 LookupResult Result(*this, DeclarationName(), SourceLocation(), Kind);
3221 LookupResult Result(*this, DeclarationName(), SourceLocation(), Kind);
3275 LookupResult &Res,
3466 LookupResult Result;
3490 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo &&
3629 case LookupResult::NotFound:
3630 case LookupResult::NotFoundInCurrentInstantiation:
3631 case LookupResult::FoundUnresolvedValue:
3648 case LookupResult::Ambiguous:
3652 case LookupResult::Found:
3653 case LookupResult::FoundOverloaded:
3705 case LookupResult::Found:
3706 case LookupResult::FoundOverloaded: {
3719 for (LookupResult::iterator TRD = Result.begin(), TRDEnd = Result.end();
3731 case LookupResult::NotFound:
3732 case LookupResult::NotFoundInCurrentInstantiation:
3733 case LookupResult::Ambiguous:
3734 case LookupResult::FoundUnresolvedValue:
3890 LookupResult &Res,
4095 if (!LookupResult::isVisible(SemaRef, *DI))
4106 if (!LookupResult::isVisible(SemaRef, *DI))
4273 LookupResult R(*this, NameInfo, LookupOrdinaryName);