Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp390 DeclContext *LookupCtx = nullptr; in isNonTypeNestedNameSpecifier() local
396 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
401 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
406 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
413 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
414 RequireCompleteDeclContext(SS, LookupCtx)) in isNonTypeNestedNameSpecifier()
417 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
497 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
505 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
510 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
[all …]
DSemaLookup.cpp2110 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName() argument
2112 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context"); in LookupQualifiedName()
2118 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName()
2119 LookupCtx->isDependentContext() || in LookupQualifiedName()
2120 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName()
2121 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName()
2134 } QL(LookupCtx); in LookupQualifiedName()
2136 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName()
2138 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName()
2139 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName()
[all …]
DSemaTemplate.cpp388 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local
394 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
395 IsDependent = !LookupCtx && ObjectType->isDependentType(); in LookupTemplateName()
422 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
423 IsDependent = !LookupCtx && isDependentScopeSpecifier(SS); in LookupTemplateName()
426 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName()
432 if (LookupCtx) { in LookupTemplateName()
437 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName()
517 &SS, FilterCCC, CTK_ErrorRecovery, LookupCtx)) { in LookupTemplateName()
525 if (LookupCtx) { in LookupTemplateName()
[all …]
DSemaCoroutine.cpp320 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle() local
323 if (!S.LookupQualifiedName(Found, LookupCtx)) { in buildCoroutineHandle()
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()
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()
475 auto *LookupRD = dyn_cast_or_null<CXXRecordDecl>(LookupCtx); in getTypeName()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp391 DeclContext *LookupCtx = nullptr; in isNonTypeNestedNameSpecifier() local
397 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
402 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
407 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
414 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
415 RequireCompleteDeclContext(SS, LookupCtx)) in isNonTypeNestedNameSpecifier()
418 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
495 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
503 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
508 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
[all …]
DSemaLookup.cpp1978 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName() argument
1980 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context"); in LookupQualifiedName()
1986 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName()
1987 LookupCtx->isDependentContext() || in LookupQualifiedName()
1988 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName()
1989 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName()
2002 } QL(LookupCtx); in LookupQualifiedName()
2004 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName()
2006 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName()
2007 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName()
[all …]
DSemaTemplate.cpp257 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local
263 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
277 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
281 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName()
287 if (LookupCtx) { in LookupTemplateName()
292 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName()
332 std::move(FilterCCC), CTK_ErrorRecovery, LookupCtx)) { in LookupTemplateName()
338 if (LookupCtx) { in LookupTemplateName()
343 << Name << LookupCtx << DroppedSpecifier in LookupTemplateName()
3036 DeclContext *LookupCtx = nullptr; in ActOnDependentTemplateName() local
[all …]
DSemaExprCXX.cpp111 DeclContext *LookupCtx = nullptr; in getDestructorName() local
143 LookupCtx = DC; in getDestructorName()
157 LookupCtx = computeDeclContext(PrefixSS, EnteringContext); in getDestructorName()
160 LookupCtx = computeDeclContext(SearchType); in getDestructorName()
163 LookupCtx = computeDeclContext(SS, EnteringContext); in getDestructorName()
164 isDependent = LookupCtx && LookupCtx->isDependentContext(); in getDestructorName()
174 LookupCtx = computeDeclContext(SearchType); in getDestructorName()
192 if (Step == 0 && LookupCtx) in getDestructorName()
193 LookupQualifiedName(Found, LookupCtx); in getDestructorName()
DSemaDecl.cpp257 DeclContext *LookupCtx = nullptr; in getTypeName() local
261 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
263 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
265 if (!LookupCtx) { in getTypeName()
293 if (!LookupCtx->isDependentContext() && in getTypeName()
294 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName()
303 if (LookupCtx) { in getTypeName()
308 LookupQualifiedName(Result, LookupCtx); in getTypeName()
/external/llvm/include/llvm-c/
DOrcBindings.h35 typedef uint64_t (*LLVMOrcSymbolResolverFn)(const char *Name, void *LookupCtx);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DOrcBindings.h35 typedef uint64_t (*LLVMOrcSymbolResolverFn)(const char *Name, void *LookupCtx);
/external/clang/include/clang/Sema/
DSema.h2850 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
2852 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
/external/llvm-project/clang/include/clang/Sema/
DSema.h3955 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
3957 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,