Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp54 DeclContext *Sema::computeDeclContext(QualType T) { in computeDeclContext() function in Sema
75 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext() function in Sema
397 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
402 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
501 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
506 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
1063 DeclContext *DC = computeDeclContext(SS, true); in ActOnCXXEnterDeclaratorScope()
1089 assert(!SS.isInvalid() && computeDeclContext(SS, true) && in ActOnCXXExitDeclaratorScope()
H A DSemaExprMember.cpp555 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
666 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord()
991 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
H A DSemaTemplate.cpp299 computeDeclContext(*SS)) in DiagnoseUnknownTemplateName()
328 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
342 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
1298 SemanticContext = computeDeclContext(SS, true); in CheckClassTemplate()
2562 = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, true))) in MatchTemplateParametersToScopeSpecifier()
3339 DeclContext *LookupCtx = computeDeclContext(SS, /*EnteringContext*/false); in ActOnTemplateIdType()
4175 if (!(DC = computeDeclContext(SS, false)) || in BuildQualifiedTemplateIdExpr()
4231 LookupCtx = computeDeclContext(SS, EnteringContext); in ActOnDependentTemplateName()
4233 LookupCtx = computeDeclContext(ObjectType.get()); in ActOnDependentTemplateName()
9522 dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, false)); in ActOnTypenameType()
[all …]
H A DSemaExprCXX.cpp191 DeclContext *DC = computeDeclContext(SS, EnteringContext); in getDestructorName()
208 LookupCtx = computeDeclContext(PrefixSS, EnteringContext); in getDestructorName()
211 LookupCtx = computeDeclContext(SearchType); in getDestructorName()
214 LookupCtx = computeDeclContext(SS, EnteringContext); in getDestructorName()
225 LookupCtx = computeDeclContext(SearchType); in getDestructorName()
282 if (DeclContext *Ctx = computeDeclContext(SS, EnteringContext)) { in getDestructorName()
7027 ((SS.isSet() && !computeDeclContext(SS, false)) || in ActOnPseudoDestructorExpr()
H A DSemaDeclCXX.cpp2111 DeclContext *DC = computeDeclContext(*SS, true); in getCurrentClass()
2139 DeclContext *DC = computeDeclContext(*SS, true); in isCurrentClassNameTypo()
3106 if (DeclContext *DC = computeDeclContext(SS, false)) in ActOnCXXMemberDeclarator()
3896 DeclContext *DC = computeDeclContext(SS, false); in BuildMemInitializer()
9338 if (DeclContext *DC = S.computeDeclContext(SS, false)) { in TryNamespaceTypoCorrection()
9987 DeclContext *LookupContext = computeDeclContext(SS); in BuildUsingDeclaration()
10300 DeclContext *NamedContext = computeDeclContext(SS); in CheckUsingDeclQualifier()
14417 DC = computeDeclContext(SS); in ActOnFriendFunctionDecl()
H A DSemaCoroutine.cpp341 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle()
H A DSemaAccess.cpp217 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); in resolveInstanceContext()
H A DSemaTemplateInstantiateDecl.cpp1196 DC = SemaRef.computeDeclContext(SS); in VisitClassTemplateDecl()
1660 DC = SemaRef.computeDeclContext(SS); in VisitFunctionDecl()
1961 DC = SemaRef.computeDeclContext(SS); in VisitCXXMethodDecl()
H A DSemaDecl.cpp295 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
297 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
689 } else if (DeclContext *DC = computeDeclContext(*SS, false)) { in DiagnoseUnknownTypeName()
742 else if (DeclContext *DC = computeDeclContext(*SS, false)) in DiagnoseUnknownTypeName()
958 << Name << computeDeclContext(SS, false) in ClassifyName()
5345 DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext); in HandleDeclarator()
6833 << Name << computeDeclContext(D.getCXXScopeSpec(), true) in ActOnVariableDeclarator()
14190 DC = computeDeclContext(SS, false); in ActOnTag()
14196 DC = computeDeclContext(SS, true); in ActOnTag()
H A DSemaLookup.cpp2272 if (DeclContext *DC = computeDeclContext(*SS, EnteringContext)) { in LookupParsedName()
4634 QualifiedDC = computeDeclContext(*SS, EnteringContext); in makeTypoCorrectionConsumer()
H A DSemaExpr.cpp1787 SS.isEmpty() ? nullptr : SemaRef.computeDeclContext(SS, false); in emitEmptyLookupTypoDiagnostic()
1995 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup()
2009 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup()
2110 if (DeclContext *DC = computeDeclContext(SS, false)) { in ActOnIdExpression()
2320 DeclContext *DC = computeDeclContext(SS, false); in BuildQualifiedDeclarationNameExpr()
H A DSemaType.cpp4862 dyn_cast_or_null<CXXRecordDecl>(S.computeDeclContext(SS))) { in GetFullTypeForDeclarator()
4993 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
H A DTreeTransform.h1020 if (!SemaRef.computeDeclContext(SS)) in RebuildDependentNameType()
1052 DeclContext *DC = SemaRef.computeDeclContext(SS, false); in RebuildDependentNameType()
H A DSemaCodeComplete.cpp4983 DeclContext *Ctx = computeDeclContext(SS, /*EnteringContext=*/true); in CodeCompleteQualifiedId()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5359 DeclContext *computeDeclContext(QualType T);
5360 DeclContext *computeDeclContext(const CXXScopeSpec &SS,