Searched refs:LookupCtx (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 487 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local 495 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier() 506 if (LookupCtx) { in BuildCXXNestedNameSpecifier() 513 if (!LookupCtx->isDependentContext() && in BuildCXXNestedNameSpecifier() 517 LookupQualifiedName(Found, LookupCtx); in BuildCXXNestedNameSpecifier() 558 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier() 577 if (LookupCtx) in BuildCXXNestedNameSpecifier() 578 LookupQualifiedName(R, LookupCtx); in BuildCXXNestedNameSpecifier() 616 if (LookupCtx) { in BuildCXXNestedNameSpecifier() 792 DeclContext *DC = LookupCtx ? LookupCtx : CurContext; in BuildCXXNestedNameSpecifier() [all …]
|
| H A D | SemaLookup.cpp | 2429 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName() 2430 LookupCtx->isDependentContext() || in LookupQualifiedName() 2431 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName() 2432 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName() 2446 } QL(LookupCtx); in LookupQualifiedName() 2448 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName() 2450 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName() 2451 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName() 2468 if (LookupCtx->isFileContext()) in LookupQualifiedName() 2473 CXXRecordDecl *LookupRec = dyn_cast<CXXRecordDecl>(LookupCtx); in LookupQualifiedName() [all …]
|
| H A D | SemaTemplate.cpp | 394 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local 400 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName() 429 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName() 433 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName() 439 if (LookupCtx) { in LookupTemplateName() 444 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName() 531 if (LookupCtx) { in LookupTemplateName() 633 DeclContext *LookupCtx = nullptr; in diagnoseExprIntendedAsTemplateName() local 699 if (LookupCtx) { in diagnoseExprIntendedAsTemplateName() 5211 DeclContext *LookupCtx = nullptr; in ActOnTemplateName() local [all …]
|
| H A D | SemaCoroutine.cpp | 274 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle() local 277 if (!S.LookupQualifiedName(Found, LookupCtx)) { in buildCoroutineHandle()
|
| H A D | SemaExprCXX.cpp | 267 DeclContext *LookupCtx = computeDeclContext(SearchType); in getDestructorName() local 268 if (!LookupCtx) in getDestructorName() 270 LookupQualifiedName(Found, LookupCtx); in getDestructorName() 279 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); in getDestructorName() local 280 if (!LookupCtx) in getDestructorName() 284 if (RequireCompleteDeclContext(LookupSS, LookupCtx)) { in getDestructorName() 288 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
|
| H A D | SemaDecl.cpp | 349 DeclContext *LookupCtx = nullptr; in getTypeName() local 353 LookupCtx = computeDeclContext(ObjectType); in getTypeName() 355 LookupCtx = computeDeclContext(*SS, false); in getTypeName() 357 if (!LookupCtx) { in getTypeName() 402 if (!LookupCtx->isDependentContext() && in getTypeName() 403 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName() 412 if (LookupCtx) { in getTypeName() 417 LookupQualifiedName(Result, LookupCtx); in getTypeName() 560 auto *LookupRD = dyn_cast_or_null<CXXRecordDecl>(LookupCtx); in getTypeName()
|
| H A D | SemaExpr.cpp | 2472 ArrayRef<Expr *> Args, DeclContext *LookupCtx, in DiagnoseEmptyLookup() argument 2490 LookupCtx ? LookupCtx : (SS.isEmpty() ? CurContext : nullptr); in DiagnoseEmptyLookup() 2533 nullptr, CTK_ErrorRecovery, LookupCtx); in DiagnoseEmptyLookup() 2538 &SS, CCC, CTK_ErrorRecovery, LookupCtx))) { in DiagnoseEmptyLookup()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4546 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, 4548 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, 5683 DeclContext *LookupCtx = nullptr,
|