| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 53 DeclContext *Sema::computeDeclContext(QualType T) { in computeDeclContext() function in Sema 74 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext() function in Sema 410 LookupCtx = computeDeclContext(ObjectType); in isNonTypeNestedNameSpecifier() 415 LookupCtx = computeDeclContext(SS, false); in isNonTypeNestedNameSpecifier() 519 LookupCtx = computeDeclContext(ObjectType); in BuildCXXNestedNameSpecifier() 524 LookupCtx = computeDeclContext(SS, EnteringContext); in BuildCXXNestedNameSpecifier() 1096 DeclContext *DC = computeDeclContext(SS, true); in ActOnCXXEnterDeclaratorScope() 1122 assert(!SS.isInvalid() && computeDeclContext(SS, true) && in ActOnCXXExitDeclaratorScope()
|
| H A D | SemaExprMember.cpp | 557 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference() 668 DC = SemaRef.computeDeclContext(SS, false); in LookupMemberExprInRecord() 997 ? computeDeclContext(SS, false) in BuildMemberReferenceExpr()
|
| H A D | SemaTemplate.cpp | 360 computeDeclContext(*SS)) in DiagnoseUnknownTemplateName() 399 LookupCtx = computeDeclContext(ObjectType); in LookupTemplateName() 427 LookupCtx = computeDeclContext(SS, EnteringContext); in LookupTemplateName() 1752 SemanticContext = computeDeclContext(SS, true); in CheckClassTemplate() 3126 = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, true))) in MatchTemplateParametersToScopeSpecifier() 3972 DeclContext *LookupCtx = computeDeclContext(SS, /*EnteringContext*/false); in ActOnTemplateIdType() 4838 if (!(DC = computeDeclContext(SS, false)) || in BuildQualifiedTemplateIdExpr() 4905 LookupCtx = computeDeclContext(SS, EnteringContext); in ActOnTemplateName() 4907 LookupCtx = computeDeclContext(GetTypeFromParser(ObjectType)); in ActOnTemplateName() 10520 dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, false)); in ActOnTypenameType() [all …]
|
| H A D | SemaAccess.cpp | 229 DeclContext *IC = S.computeDeclContext(getBaseObjectType()); in resolveInstanceContext()
|
| H A D | SemaCoroutine.cpp | 273 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType); in buildCoroutineHandle()
|
| H A D | SemaDecl.cpp | 304 LookupCtx = computeDeclContext(ObjectType); in getTypeName() 306 LookupCtx = computeDeclContext(*SS, false); in getTypeName() 719 } else if (DeclContext *DC = computeDeclContext(*SS, false)) { in DiagnoseUnknownTypeName() 772 else if (DeclContext *DC = computeDeclContext(*SS, false)) in DiagnoseUnknownTypeName() 994 << Name << computeDeclContext(SS, false) in ClassifyName() 6179 DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext); in HandleDeclarator() 7861 << Name << computeDeclContext(D.getCXXScopeSpec(), true) in ActOnVariableDeclarator() 16328 DC = computeDeclContext(SS, false); in ActOnTag() 16334 DC = computeDeclContext(SS, true); in ActOnTag()
|
| H A D | SemaDeclCXX.cpp | 2419 DeclContext *DC = computeDeclContext(*SS, true); in getCurrentClass() 2447 DeclContext *DC = computeDeclContext(*SS, true); in isCurrentClassNameTypo() 3450 if (DeclContext *DC = computeDeclContext(SS, false)) in ActOnCXXMemberDeclarator() 4283 DeclContext *DC = computeDeclContext(SS, false); in BuildMemInitializer() 11626 if (DeclContext *DC = S.computeDeclContext(SS, false)) { in TryNamespaceTypoCorrection() 12347 DeclContext *LookupContext = computeDeclContext(SS); in BuildUsingDeclaration() 12725 DeclContext *NamedContext = computeDeclContext(SS); in CheckUsingDeclQualifier() 17099 DC = computeDeclContext(SS); in ActOnFriendFunctionDecl()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1602 DC = SemaRef.computeDeclContext(SS); in VisitClassTemplateDecl() 2089 DC = SemaRef.computeDeclContext(SS); in VisitFunctionDecl() 2450 DC = SemaRef.computeDeclContext(SS); in VisitCXXMethodDecl()
|
| H A D | SemaLookup.cpp | 2717 if (DeclContext *DC = computeDeclContext(*SS, EnteringContext)) { in LookupParsedName() 5240 QualifiedDC = computeDeclContext(*SS, EnteringContext); in makeTypoCorrectionConsumer()
|
| H A D | SemaExprCXX.cpp | 261 DeclContext *LookupCtx = computeDeclContext(SearchType); in getDestructorName() 273 DeclContext *LookupCtx = computeDeclContext(LookupSS, EnteringContext); in getDestructorName() 7847 ((SS.isSet() && !computeDeclContext(SS, false)) || in ActOnPseudoDestructorExpr()
|
| H A D | SemaExpr.cpp | 2174 SS.isEmpty() ? nullptr : SemaRef.computeDeclContext(SS, false); in emitEmptyLookupTypoDiagnostic() 2414 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup() 2428 << Name << computeDeclContext(SS, false) in DiagnoseEmptyLookup() 2529 if (DeclContext *DC = computeDeclContext(SS, false)) { in ActOnIdExpression() 2741 DeclContext *DC = computeDeclContext(SS, false); in BuildQualifiedDeclarationNameExpr()
|
| H A D | SemaType.cpp | 5518 isa_and_nonnull<CXXRecordDecl>(S.computeDeclContext(SS))) { in GetFullTypeForDeclarator() 5653 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
|
| H A D | TreeTransform.h | 1099 if (!SemaRef.computeDeclContext(SS)) in RebuildDependentNameType() 1116 DeclContext *DC = SemaRef.computeDeclContext(SS, false); in RebuildDependentNameType()
|
| H A D | SemaCodeComplete.cpp | 6537 DeclContext *Ctx = computeDeclContext(SS, /*EnteringContext=*/true); in CodeCompleteQualifiedId()
|
| /llvm-project-15.0.7/clang/unittests/Sema/ |
| H A D | ExternalSemaSourceTest.cpp | 117 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo() 159 DestContext = CurrentSema->computeDeclContext(*SS, EnteringContext); in CorrectTypo()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 6733 DeclContext *computeDeclContext(QualType T); 6734 DeclContext *computeDeclContext(const CXXScopeSpec &SS,
|