Lines Matching refs:LookupCtx
391 DeclContext *LookupCtx = nullptr; in isNonTypeNestedNameSpecifier() local
397 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
402 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
407 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
414 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
415 RequireCompleteDeclContext(SS, LookupCtx)) in isNonTypeNestedNameSpecifier()
418 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
495 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
503 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
508 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
514 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
521 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
522 RequireCompleteDeclContext(SS, LookupCtx)) in BuildCXXNestedNameSpecifier()
525 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier()
566 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier()
567 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
568 !cast<CXXRecordDecl>(LookupCtx)->hasAnyDependentBases()))) { in BuildCXXNestedNameSpecifier()
585 if (LookupCtx) in BuildCXXNestedNameSpecifier()
586 LookupQualifiedName(R, LookupCtx); in BuildCXXNestedNameSpecifier()
620 CTK_ErrorRecovery, LookupCtx, EnteringContext)) { in BuildCXXNestedNameSpecifier()
621 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
628 << Name << LookupCtx << DroppedSpecifier in BuildCXXNestedNameSpecifier()
794 DeclContext *DC = LookupCtx ? LookupCtx : CurContext; in BuildCXXNestedNameSpecifier()
817 Diag(IdentifierLoc, diag::err_no_member) << &Identifier << LookupCtx in BuildCXXNestedNameSpecifier()