Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp55 DeclContext *Sema::computeDeclContext(QualType T) { in computeDeclContext() function in Sema
76 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext() function in Sema
370 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
375 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
479 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
484 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
1032 DeclContext *DC = computeDeclContext(SS, true); in ActOnCXXEnterDeclaratorScope()
1058 assert(!SS.isInvalid() && computeDeclContext(SS, true) && in ActOnCXXExitDeclaratorScope()
DSemaExprMember.cpp517 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
627 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord()
1006 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
DSemaTemplate.cpp233 computeDeclContext(*SS)) in DiagnoseUnknownTemplateName()
261 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
275 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
870 SemanticContext = computeDeclContext(SS, true); in CheckClassTemplate()
1656 = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, true))) in MatchTemplateParametersToScopeSpecifier()
2942 if (!(DC = computeDeclContext(SS, false)) || in BuildQualifiedTemplateIdExpr()
2995 LookupCtx = computeDeclContext(SS, EnteringContext); in ActOnDependentTemplateName()
2997 LookupCtx = computeDeclContext(ObjectType.get()); in ActOnDependentTemplateName()
8151 DeclContext *Ctx = computeDeclContext(SS); in CheckTypenameType()
DSemaExprCXX.cpp140 DeclContext *DC = computeDeclContext(SS, EnteringContext); in getDestructorName()
157 LookupCtx = computeDeclContext(PrefixSS, EnteringContext); in getDestructorName()
160 LookupCtx = computeDeclContext(SearchType); in getDestructorName()
163 LookupCtx = computeDeclContext(SS, EnteringContext); in getDestructorName()
174 LookupCtx = computeDeclContext(SearchType); in getDestructorName()
228 if (DeclContext *Ctx = computeDeclContext(SS, EnteringContext)) { in getDestructorName()
5950 ((SS.isSet() && !computeDeclContext(SS, false)) || in ActOnPseudoDestructorExpr()
DSemaDeclCXX.cpp1278 DeclContext *DC = computeDeclContext(*SS, true); in isCurrentClassName()
1299 DeclContext *DC = computeDeclContext(*SS, true); in isCurrentClassNameTypo()
2172 if (DeclContext *DC = computeDeclContext(SS, false)) in ActOnCXXMemberDeclarator()
2923 DeclContext *DC = computeDeclContext(SS, false); in BuildMemInitializer()
7519 if (DeclContext *DC = S.computeDeclContext(SS, false)) { in TryNamespaceTypoCorrection()
8090 DeclContext *LookupContext = computeDeclContext(SS); in BuildUsingDeclaration()
8337 DeclContext *NamedContext = computeDeclContext(SS); in CheckUsingDeclQualifier()
12613 DC = computeDeclContext(SS); in ActOnFriendFunctionDecl()
DSemaTemplateInstantiateDecl.cpp975 DC = SemaRef.computeDeclContext(SS); in VisitClassTemplateDecl()
1429 DC = SemaRef.computeDeclContext(SS); in VisitFunctionDecl()
1714 DC = SemaRef.computeDeclContext(SS); in VisitCXXMethodDecl()
DSemaDecl.cpp253 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
255 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
580 } else if (DeclContext *DC = computeDeclContext(*SS, false)) { in DiagnoseUnknownTypeName()
629 else if (DeclContext *DC = computeDeclContext(*SS, false)) in DiagnoseUnknownTypeName()
838 << Name << computeDeclContext(SS, false) in ClassifyName()
4815 DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext); in HandleDeclarator()
6206 << Name << computeDeclContext(D.getCXXScopeSpec(), true) in ActOnVariableDeclarator()
11938 DC = computeDeclContext(SS, false); in ActOnTag()
11944 DC = computeDeclContext(SS, true); in ActOnTag()
DSemaAccess.cpp216 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); in resolveInstanceContext()
DSemaLookup.cpp2147 if (DeclContext *DC = computeDeclContext(*SS, EnteringContext)) { in LookupParsedName()
4467 QualifiedDC = computeDeclContext(*SS, EnteringContext); in makeTypoCorrectionConsumer()
DSemaExpr.cpp1764 SS.isEmpty() ? nullptr : SemaRef.computeDeclContext(SS, false); in emitEmptyLookupTypoDiagnostic()
1972 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup()
1986 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup()
2081 if (DeclContext *DC = computeDeclContext(SS, false)) { in ActOnIdExpression()
2286 DeclContext *DC = computeDeclContext(SS, false); in BuildQualifiedDeclarationNameExpr()
DSemaType.cpp4054 dyn_cast_or_null<CXXRecordDecl>(S.computeDeclContext(SS))) { in GetFullTypeForDeclarator()
4131 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
DTreeTransform.h948 if (!SemaRef.computeDeclContext(SS)) in RebuildDependentNameType()
964 DeclContext *DC = SemaRef.computeDeclContext(SS, false); in RebuildDependentNameType()
DSemaCodeComplete.cpp4230 DeclContext *Ctx = computeDeclContext(SS, EnteringContext); in CodeCompleteQualifiedId()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp114 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo()
/external/clang/include/clang/Sema/
DSema.h4794 DeclContext *computeDeclContext(QualType T);
4795 DeclContext *computeDeclContext(const CXXScopeSpec &SS,