Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
812 DeclContext *DC = LookupCtx ? LookupCtx : CurContext; in BuildCXXNestedNameSpecifier()
[all …]
H A DSemaLookup.cpp2159 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName()
2160 LookupCtx->isDependentContext() || in LookupQualifiedName()
2161 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName()
2162 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName()
2175 } QL(LookupCtx); in LookupQualifiedName()
2177 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName()
2179 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName()
2180 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName()
2197 if (LookupCtx->isFileContext()) in LookupQualifiedName()
2202 CXXRecordDecl *LookupRec = dyn_cast<CXXRecordDecl>(LookupCtx); in LookupQualifiedName()
[all …]
H A DSemaTemplate.cpp388 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local
394 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
422 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
426 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName()
432 if (LookupCtx) { in LookupTemplateName()
437 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName()
525 if (LookupCtx) { in LookupTemplateName()
627 DeclContext *LookupCtx = nullptr; in diagnoseExprIntendedAsTemplateName() local
693 if (LookupCtx) { in diagnoseExprIntendedAsTemplateName()
4845 DeclContext *LookupCtx = nullptr; in ActOnTemplateName() local
[all …]
H A DSemaCoroutine.cpp300 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle() local
303 if (!S.LookupQualifiedName(Found, LookupCtx)) { in buildCoroutineHandle()
H A DSemaExprCXX.cpp258 DeclContext *LookupCtx = computeDeclContext(SearchType); in getDestructorName() local
259 if (!LookupCtx) in getDestructorName()
261 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
270 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); in getDestructorName() local
271 if (!LookupCtx) in getDestructorName()
275 if (RequireCompleteDeclContext(LookupSS, LookupCtx)) { in getDestructorName()
279 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
H A DSemaDecl.cpp298 DeclContext *LookupCtx = nullptr; in getTypeName() local
302 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
304 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
306 if (!LookupCtx) { in getTypeName()
334 if (!LookupCtx->isDependentContext() && in getTypeName()
335 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName()
344 if (LookupCtx) { in getTypeName()
349 LookupQualifiedName(Result, LookupCtx); in getTypeName()
477 auto *LookupRD = dyn_cast_or_null<CXXRecordDecl>(LookupCtx); in getTypeName()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4116 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
4118 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,