Lines Matching refs:LookupCtx

404   DeclContext *LookupCtx = nullptr;  in isNonTypeNestedNameSpecifier()  local
410 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
415 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
420 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
427 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
428 RequireCompleteDeclContext(SS, LookupCtx)) in isNonTypeNestedNameSpecifier()
431 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
511 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
519 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
524 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
530 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
537 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
538 RequireCompleteDeclContext(SS, LookupCtx)) in BuildCXXNestedNameSpecifier()
541 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier()
582 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier()
583 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
584 !cast<CXXRecordDecl>(LookupCtx)->hasAnyDependentBases()))) { in BuildCXXNestedNameSpecifier()
601 if (LookupCtx) in BuildCXXNestedNameSpecifier()
602 LookupQualifiedName(R, LookupCtx); in BuildCXXNestedNameSpecifier()
639 CTK_ErrorRecovery, LookupCtx, EnteringContext)) { in BuildCXXNestedNameSpecifier()
640 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
647 << Name << LookupCtx << DroppedSpecifier in BuildCXXNestedNameSpecifier()
816 DeclContext *DC = LookupCtx ? LookupCtx : CurContext; in BuildCXXNestedNameSpecifier()
847 << LookupCtx << SS.getRange(); in BuildCXXNestedNameSpecifier()