Home
last modified time | relevance | path

Searched refs:isDeclInScope (Results 1 – 9 of 9) sorted by relevance

/src/contrib/llvm-project/clang/include/clang/Sema/
H A DIdentifierResolver.h159 bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S = nullptr,
H A DSema.h4026 bool isDeclInScope(NamedDecl *D, DeclContext *Ctx, Scope *S = nullptr,
/src/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp102 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S, in isDeclInScope() function in IdentifierResolver
H A DSemaDecl.cpp1557 bool Sema::isDeclInScope(NamedDecl *D, DeclContext *Ctx, Scope *S, in isDeclInScope() function in Sema
1559 return IdResolver.isDeclInScope(D, Ctx, S, AllowInlineNamespace); in isDeclInScope()
1584 if (isDeclInScope(D, Ctx, S, AllowInlineNamespace)) in FilterLookupForScope()
5272 if (!SemaRef.isDeclInScope(PrevDecl, Owner, S)) in CheckAnonMemberRedeclaration()
7390 if (SameDC && isDeclInScope(PrevDecl, CurContext, S, false)) in ActOnVariableDeclarator()
7961 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false)); in ActOnVariableDeclarator()
17469 isDeclInScope(Shadow, SearchDC, S, isMemberSpecialization) && in ActOnTag()
17488 isDeclInScope(DirectPrevDecl, SearchDC, S, in ActOnTag()
17694 } else if (!isDeclInScope(DirectPrevDecl, SearchDC, S, in ActOnTag()
18300 if (PrevDecl && !isDeclInScope(PrevDecl, Record, S)) in HandleField()
[all …]
H A DSemaDeclCXX.cpp478 if (S && !isDeclInScope(PrevForDefaultArgs, ScopeDC, S) && in MergeCXXFunctionDecl()
917 isDeclInScope(*(Previous.end() - 1), CurContext, S, false)) { in ActOnDecompositionDeclarator()
12695 if (!isDeclInScope(D, CurContext, S)) in FilterUsingLookup()
16899 if (isDeclInScope(PrevDecl, CurContext, S)) { in ActOnExceptionDeclarator()
19008 if (PrevDecl && !isDeclInScope(PrevDecl, Record, S)) in HandleMSProperty()
H A DSemaLookup.cpp4089 if (S.IdResolver.isDeclInScope(*I, Ctx)) { in lookupInDeclContext()
H A DSemaDeclObjC.cpp5652 if (PrevDecl && SemaRef.isDeclInScope(PrevDecl, EnclosingContext, S) && in ActOnIvar()
H A DSemaOpenMP.cpp3050 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
3071 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
3187 !SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()
H A DSemaTemplate.cpp1947 } else if (PrevDecl && !isDeclInScope(Previous.getRepresentativeDecl(), in CheckClassTemplate()