Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp364 DeclContext *LookupCtx = nullptr; in isNonTypeNestedNameSpecifier() local
370 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
375 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
380 if (LookupCtx) { in isNonTypeNestedNameSpecifier()
387 if (!LookupCtx->isDependentContext() && in isNonTypeNestedNameSpecifier()
388 RequireCompleteDeclContext(SS, LookupCtx)) in isNonTypeNestedNameSpecifier()
391 LookupQualifiedName(Found, LookupCtx); in isNonTypeNestedNameSpecifier()
471 DeclContext *LookupCtx = nullptr; in BuildCXXNestedNameSpecifier() local
479 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
484 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
[all …]
DSemaLookup.cpp1892 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx, in LookupQualifiedName() argument
1894 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context"); in LookupQualifiedName()
1900 assert((!isa<TagDecl>(LookupCtx) || in LookupQualifiedName()
1901 LookupCtx->isDependentContext() || in LookupQualifiedName()
1902 cast<TagDecl>(LookupCtx)->isCompleteDefinition() || in LookupQualifiedName()
1903 cast<TagDecl>(LookupCtx)->isBeingDefined()) && in LookupQualifiedName()
1916 } QL(LookupCtx); in LookupQualifiedName()
1918 if (LookupDirect(*this, R, LookupCtx)) { in LookupQualifiedName()
1920 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName()
1921 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName()
[all …]
DSemaTemplate.cpp255 DeclContext *LookupCtx = nullptr; in LookupTemplateName() local
261 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
275 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
279 if (LookupCtx && RequireCompleteDeclContext(SS, LookupCtx)) in LookupTemplateName()
285 if (LookupCtx) { in LookupTemplateName()
290 LookupQualifiedName(Found, LookupCtx); in LookupTemplateName()
330 std::move(FilterCCC), CTK_ErrorRecovery, LookupCtx)) { in LookupTemplateName()
336 if (LookupCtx) { in LookupTemplateName()
341 << Name << LookupCtx << DroppedSpecifier in LookupTemplateName()
2993 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.cpp249 DeclContext *LookupCtx = nullptr; in getTypeName() local
253 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
255 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
257 if (!LookupCtx) { in getTypeName()
285 if (!LookupCtx->isDependentContext() && in getTypeName()
286 RequireCompleteDeclContext(*SS, LookupCtx)) in getTypeName()
295 if (LookupCtx) { in getTypeName()
300 LookupQualifiedName(Result, LookupCtx); in getTypeName()
/external/llvm/include/llvm-c/
DOrcBindings.h37 void *LookupCtx);
/external/clang/include/clang/Sema/
DSema.h2776 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
2778 bool LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,