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
397 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier()
402 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier()
503 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier()
508 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier()
1062 DeclContext *DC = computeDeclContext(SS, true); in ActOnCXXEnterDeclaratorScope()
1088 assert(!SS.isInvalid() && computeDeclContext(SS, true) && in ActOnCXXExitDeclaratorScope()
DSemaExprMember.cpp531 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
641 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord()
1046 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
DSemaTemplate.cpp235 computeDeclContext(*SS)) in DiagnoseUnknownTemplateName()
263 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName()
277 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName()
885 SemanticContext = computeDeclContext(SS, true); in CheckClassTemplate()
1673 = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, true))) in MatchTemplateParametersToScopeSpecifier()
2985 if (!(DC = computeDeclContext(SS, false)) || in BuildQualifiedTemplateIdExpr()
3038 LookupCtx = computeDeclContext(SS, EnteringContext); in ActOnDependentTemplateName()
3040 LookupCtx = computeDeclContext(ObjectType.get()); in ActOnDependentTemplateName()
8295 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()
6226 ((SS.isSet() && !computeDeclContext(SS, false)) || in ActOnPseudoDestructorExpr()
DSemaDecl.cpp261 LookupCtx = computeDeclContext(ObjectType); in getTypeName()
263 LookupCtx = computeDeclContext(*SS, false); in getTypeName()
624 } else if (DeclContext *DC = computeDeclContext(*SS, false)) { in DiagnoseUnknownTypeName()
673 else if (DeclContext *DC = computeDeclContext(*SS, false)) in DiagnoseUnknownTypeName()
881 << Name << computeDeclContext(SS, false) in ClassifyName()
4948 DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext); in HandleDeclarator()
6406 << Name << computeDeclContext(D.getCXXScopeSpec(), true) in ActOnVariableDeclarator()
12378 DC = computeDeclContext(SS, false); in ActOnTag()
12384 DC = computeDeclContext(SS, true); in ActOnTag()
DSemaTemplateInstantiateDecl.cpp1082 DC = SemaRef.computeDeclContext(SS); in VisitClassTemplateDecl()
1536 DC = SemaRef.computeDeclContext(SS); in VisitFunctionDecl()
1820 DC = SemaRef.computeDeclContext(SS); in VisitCXXMethodDecl()
DSemaDeclCXX.cpp1278 DeclContext *DC = computeDeclContext(*SS, true); in isCurrentClassName()
1299 DeclContext *DC = computeDeclContext(*SS, true); in isCurrentClassNameTypo()
2175 if (DeclContext *DC = computeDeclContext(SS, false)) in ActOnCXXMemberDeclarator()
2926 DeclContext *DC = computeDeclContext(SS, false); in BuildMemInitializer()
7684 if (DeclContext *DC = S.computeDeclContext(SS, false)) { in TryNamespaceTypoCorrection()
8297 DeclContext *LookupContext = computeDeclContext(SS); in BuildUsingDeclaration()
8562 DeclContext *NamedContext = computeDeclContext(SS); in CheckUsingDeclQualifier()
12853 DC = computeDeclContext(SS); in ActOnFriendFunctionDecl()
DSemaAccess.cpp216 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); in resolveInstanceContext()
DSemaLookup.cpp2237 if (DeclContext *DC = computeDeclContext(*SS, EnteringContext)) { in LookupParsedName()
4549 QualifiedDC = computeDeclContext(*SS, EnteringContext); in makeTypoCorrectionConsumer()
DSemaExpr.cpp1828 SS.isEmpty() ? nullptr : SemaRef.computeDeclContext(SS, false); in emitEmptyLookupTypoDiagnostic()
2035 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup()
2049 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup()
2144 if (DeclContext *DC = computeDeclContext(SS, false)) { in ActOnIdExpression()
2349 DeclContext *DC = computeDeclContext(SS, false); in BuildQualifiedDeclarationNameExpr()
DSemaType.cpp4329 dyn_cast_or_null<CXXRecordDecl>(S.computeDeclContext(SS))) { in GetFullTypeForDeclarator()
4412 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
DTreeTransform.h957 if (!SemaRef.computeDeclContext(SS)) in RebuildDependentNameType()
973 DeclContext *DC = SemaRef.computeDeclContext(SS, false); in RebuildDependentNameType()
DSemaCodeComplete.cpp4250 DeclContext *Ctx = computeDeclContext(SS, EnteringContext); in CodeCompleteQualifiedId()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp118 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo()
160 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo()
/external/clang/include/clang/Sema/
DSema.h4911 DeclContext *computeDeclContext(QualType T);
4912 DeclContext *computeDeclContext(const CXXScopeSpec &SS,