/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 55 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()
|
D | SemaExprMember.cpp | 531 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference() 641 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord() 1046 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
|
D | SemaTemplate.cpp | 235 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()
|
D | SemaExprCXX.cpp | 140 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()
|
D | SemaDecl.cpp | 261 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()
|
D | SemaTemplateInstantiateDecl.cpp | 1082 DC = SemaRef.computeDeclContext(SS); in VisitClassTemplateDecl() 1536 DC = SemaRef.computeDeclContext(SS); in VisitFunctionDecl() 1820 DC = SemaRef.computeDeclContext(SS); in VisitCXXMethodDecl()
|
D | SemaDeclCXX.cpp | 1278 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()
|
D | SemaAccess.cpp | 216 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); in resolveInstanceContext()
|
D | SemaLookup.cpp | 2237 if (DeclContext *DC = computeDeclContext(*SS, EnteringContext)) { in LookupParsedName() 4549 QualifiedDC = computeDeclContext(*SS, EnteringContext); in makeTypoCorrectionConsumer()
|
D | SemaExpr.cpp | 1828 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()
|
D | SemaType.cpp | 4329 dyn_cast_or_null<CXXRecordDecl>(S.computeDeclContext(SS))) { in GetFullTypeForDeclarator() 4412 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
|
D | TreeTransform.h | 957 if (!SemaRef.computeDeclContext(SS)) in RebuildDependentNameType() 973 DeclContext *DC = SemaRef.computeDeclContext(SS, false); in RebuildDependentNameType()
|
D | SemaCodeComplete.cpp | 4250 DeclContext *Ctx = computeDeclContext(SS, EnteringContext); in CodeCompleteQualifiedId()
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 118 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo() 160 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4911 DeclContext *computeDeclContext(QualType T); 4912 DeclContext *computeDeclContext(const CXXScopeSpec &SS,
|