Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp404 DeclContext *LookupCtx = nullptr; in isNonTypeNestedNameSpecifier() local
420 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
431 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
511 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
530 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
582 !(LookupCtx && LookupCtx->isRecord() && in BuildCXXNestedNameSpecifier()
601 if (LookupCtx) in BuildCXXNestedNameSpecifier()
602 LookupQualifiedName(R, LookupCtx); in BuildCXXNestedNameSpecifier()
640 if (LookupCtx) { in BuildCXXNestedNameSpecifier()
816 DeclContext *DC = LookupCtx ? LookupCtx : CurContext; in BuildCXXNestedNameSpecifier()
[all …]
H A DSemaLookup.cpp2415 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName()
2416 LookupCtx->isDependentContext() || in LookupQualifiedName()
2417 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName()
2418 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName()
2431 } QL(LookupCtx); in LookupQualifiedName()
2433 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName()
2435 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName()
2436 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName()
2453 if (LookupCtx->isFileContext()) in LookupQualifiedName()
2458 CXXRecordDecl *LookupRec = dyn_cast<CXXRecordDecl>(LookupCtx); in LookupQualifiedName()
[all …]
H A DSemaTemplate.cpp393 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local
399 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
427 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
431 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName()
437 if (LookupCtx) { in LookupTemplateName()
442 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName()
529 if (LookupCtx) { in LookupTemplateName()
631 DeclContext *LookupCtx = nullptr; in diagnoseExprIntendedAsTemplateName() local
697 if (LookupCtx) { in diagnoseExprIntendedAsTemplateName()
4903 DeclContext *LookupCtx = nullptr; in ActOnTemplateName() local
[all …]
H A DSemaCoroutine.cpp273 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle() local
276 if (!S.LookupQualifiedName(Found, LookupCtx)) { in buildCoroutineHandle()
H A DSemaExprCXX.cpp261 DeclContext *LookupCtx = computeDeclContext(SearchType); in getDestructorName() local
262 if (!LookupCtx) in getDestructorName()
264 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
273 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); in getDestructorName() local
274 if (!LookupCtx) in getDestructorName()
278 if (RequireCompleteDeclContext(LookupSS, LookupCtx)) { in getDestructorName()
282 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
H A DSemaDecl.cpp300 DeclContext *LookupCtx = nullptr; in getTypeName() local
304 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
306 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
308 if (!LookupCtx) { in getTypeName()
336 if (!LookupCtx->isDependentContext() && in getTypeName()
337 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName()
346 if (LookupCtx) { in getTypeName()
351 LookupQualifiedName(Result, LookupCtx); in getTypeName()
483 auto *LookupRD = dyn_cast_or_null<CXXRecordDecl>(LookupCtx); in getTypeName()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h4335 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
4337 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,