Lines Matching refs:LookupCtx
316 DeclContext *LookupCtx = nullptr; in isNonTypeNestedNameSpecifier() local
322 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
327 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
332 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
339 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
340 RequireCompleteDeclContext(SS, LookupCtx)) in isNonTypeNestedNameSpecifier()
343 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
426 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
434 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
439 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
445 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
452 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
453 RequireCompleteDeclContext(SS, LookupCtx)) in BuildCXXNestedNameSpecifier()
456 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier()
494 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier()
495 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
496 !cast<CXXRecordDecl>(LookupCtx)->hasAnyDependentBases()))) { in BuildCXXNestedNameSpecifier()
515 if (LookupCtx) in BuildCXXNestedNameSpecifier()
516 LookupQualifiedName(R, LookupCtx); in BuildCXXNestedNameSpecifier()
548 &SS, Validator, CTK_ErrorRecovery, LookupCtx, in BuildCXXNestedNameSpecifier()
550 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
557 << Name << LookupCtx << DroppedSpecifier in BuildCXXNestedNameSpecifier()
704 DeclContext *DC = LookupCtx ? LookupCtx : CurContext; in BuildCXXNestedNameSpecifier()
722 Diag(IdentifierLoc, diag::err_no_member) << &Identifier << LookupCtx in BuildCXXNestedNameSpecifier()