Home
last modified time | relevance | path

Searched refs:LookupCtx (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp422 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
430 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
435 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
441 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
448 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier()
449 RequireCompleteDeclContext(SS, LookupCtx)) in BuildCXXNestedNameSpecifier()
452 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier()
493 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier()
494 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier()
495 !cast<CXXRecordDecl>(LookupCtx)->hasAnyDependentBases()))) { in BuildCXXNestedNameSpecifier()
[all …]
H A DSemaTemplate.cpp393 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local
399 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
400 IsDependent = !LookupCtx && ObjectType->isDependentType(); in LookupTemplateName()
428 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
429 IsDependent = !LookupCtx && isDependentScopeSpecifier(SS); in LookupTemplateName()
432 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName()
438 if (LookupCtx) { in LookupTemplateName()
443 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName()
522 &SS, FilterCCC, CTK_ErrorRecovery, LookupCtx)) { in LookupTemplateName()
530 if (LookupCtx) { in LookupTemplateName()
[all …]
H A DSemaLookup.cpp2392 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName() argument
2394 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context"); in LookupQualifiedName()
2400 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName()
2401 LookupCtx->isDependentContext() || in LookupQualifiedName()
2402 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName()
2403 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName()
2417 } QL(LookupCtx); in LookupQualifiedName()
2419 CXXRecordDecl *LookupRec = dyn_cast<CXXRecordDecl>(LookupCtx); in LookupQualifiedName()
2440 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName()
2460 if (LookupCtx->isFileContext()) in LookupQualifiedName()
[all …]
H A DSemaCoroutine.cpp274 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle() local
277 if (!S.LookupQualifiedName(Found, LookupCtx)) { in buildCoroutineHandle()
H A DSemaExprCXX.cpp266 DeclContext *LookupCtx = computeDeclContext(SearchType); in getDestructorName() local
267 if (!LookupCtx) in getDestructorName()
269 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
278 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); in getDestructorName() local
279 if (!LookupCtx) in getDestructorName()
283 if (RequireCompleteDeclContext(LookupSS, LookupCtx)) { in getDestructorName()
287 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
H A DSemaDecl.cpp301 DeclContext *LookupCtx = nullptr; in getTypeName() local
305 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
307 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
309 if (!LookupCtx) { in getTypeName()
354 if (!LookupCtx->isDependentContext() && in getTypeName()
355 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName()
364 if (LookupCtx) { in getTypeName()
369 LookupQualifiedName(Result, LookupCtx); in getTypeName()
512 auto *LookupRD = dyn_cast_or_null<CXXRecordDecl>(LookupCtx); in getTypeName()
H A DSemaExpr.cpp2437 ArrayRef<Expr *> Args, DeclContext *LookupCtx, in DiagnoseEmptyLookup() argument
2455 LookupCtx ? LookupCtx : (SS.isEmpty() ? CurContext : nullptr); in DiagnoseEmptyLookup()
2498 nullptr, CTK_ErrorRecovery, LookupCtx); in DiagnoseEmptyLookup()
2503 &SS, CCC, CTK_ErrorRecovery, LookupCtx))) { in DiagnoseEmptyLookup()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6739 DeclContext *LookupCtx = nullptr,
9148 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
9166 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,