Searched refs:LookupCtx (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 417 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local 425 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier() 430 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier() 436 if (LookupCtx) { in BuildCXXNestedNameSpecifier() 443 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier() 444 RequireCompleteDeclContext(SS, LookupCtx)) in BuildCXXNestedNameSpecifier() 447 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier() 488 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier() 489 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() || in BuildCXXNestedNameSpecifier() 490 !cast<CXXRecordDecl>(LookupCtx)->hasAnyDependentBases()))) { in BuildCXXNestedNameSpecifier() [all …]
|
| H A D | SemaLookup.cpp | 2430 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName() argument 2432 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context"); in LookupQualifiedName() 2438 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName() 2439 LookupCtx->isDependentContext() || in LookupQualifiedName() 2440 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName() 2441 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName() 2455 } QL(LookupCtx); in LookupQualifiedName() 2457 CXXRecordDecl *LookupRec = dyn_cast<CXXRecordDecl>(LookupCtx); in LookupQualifiedName() 2478 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName() 2498 if (LookupCtx->isFileContext()) in LookupQualifiedName() [all …]
|
| H A D | SemaTemplate.cpp | 390 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local 396 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName() 397 IsDependent = !LookupCtx && ObjectType->isDependentType(); in LookupTemplateName() 425 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName() 426 IsDependent = !LookupCtx && isDependentScopeSpecifier(SS); in LookupTemplateName() 429 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName() 435 if (LookupCtx) { in LookupTemplateName() 440 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName() 519 CorrectTypoKind::ErrorRecovery, LookupCtx)) { in LookupTemplateName() 530 if (LookupCtx) { in LookupTemplateName() [all …]
|
| H A D | SemaCoroutine.cpp | 271 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle() local 274 if (!S.LookupQualifiedName(Found, LookupCtx)) { in buildCoroutineHandle()
|
| H A D | SemaExprCXX.cpp | 245 DeclContext *LookupCtx = computeDeclContext(SearchType); in getDestructorName() local 246 if (!LookupCtx) in getDestructorName() 248 LookupQualifiedName(Found, LookupCtx); in getDestructorName() 257 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); in getDestructorName() local 258 if (!LookupCtx) in getDestructorName() 262 if (RequireCompleteDeclContext(LookupSS, LookupCtx)) { in getDestructorName() 266 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
|
| H A D | SemaDecl.cpp | 143 QualType Sema::getTypeDeclType(DeclContext *LookupCtx, DiagCtorKind DCK, in getTypeDeclType() argument 145 auto *LookupRD = dyn_cast_or_null<CXXRecordDecl>(LookupCtx); in getTypeDeclType() 326 DeclContext *LookupCtx = nullptr; in getTypeName() local 330 LookupCtx = computeDeclContext(ObjectType); in getTypeName() 332 LookupCtx = computeDeclContext(*SS, false); in getTypeName() 334 if (!LookupCtx) { in getTypeName() 376 if (!LookupCtx->isDependentContext() && in getTypeName() 377 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName() 389 if (LookupCtx) { in getTypeName() 394 LookupQualifiedName(Result, LookupCtx); in getTypeName() [all …]
|
| H A D | SemaExpr.cpp | 2511 ArrayRef<Expr *> Args, DeclContext *LookupCtx) { in DiagnoseEmptyLookup() argument 2529 LookupCtx ? LookupCtx : (SS.isEmpty() ? CurContext : nullptr); in DiagnoseEmptyLookup() 2572 CCC, CorrectTypoKind::ErrorRecovery, LookupCtx))) { in DiagnoseEmptyLookup()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 3577 QualType getTypeDeclType(DeclContext *LookupCtx, DiagCtorKind DCK, 7158 DeclContext *LookupCtx = nullptr); 9417 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, 9435 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
|