Searched refs:isDeclInScope (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DIdentifierResolver.h145 /// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
146 /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
155 bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S = nullptr,
H A DSema.h2954 /// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
2955 /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
2961 bool isDeclInScope(NamedDecl *D, DeclContext *Ctx, Scope *S = nullptr,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp96 /// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
97 /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
99 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S, function in class:IdentifierResolver
H A DSemaDecl.cpp1505 bool Sema::isDeclInScope(NamedDecl *D, DeclContext *Ctx, Scope *S, function in class:Sema
1507 return IdResolver.isDeclInScope(D, Ctx, S, AllowInlineNamespace);
1526 /// as determined by isDeclInScope.
1534 if (isDeclInScope(D, Ctx, S, AllowInlineNamespace))
4822 if (!SemaRef.isDeclInScope(PrevDecl, Owner, S))
7303 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false));
15665 isDeclInScope(Shadow, SearchDC, S, isMemberSpecialization) &&
15684 isDeclInScope(DirectPrevDecl, SearchDC, S,
15889 } else if (!isDeclInScope(DirectPrevDecl, SearchDC, S,
16477 if (PrevDecl && !isDeclInScope(PrevDec
[all...]
H A DSemaDeclCXX.cpp473 if (S && !isDeclInScope(PrevForDefaultArgs, ScopeDC, S) &&
483 // declared in different scopes, even though isDeclInScope may think
11922 if (!isDeclInScope(D, CurContext, S))
15922 if (isDeclInScope(PrevDecl, CurContext, S)) {
17724 if (PrevDecl && !isDeclInScope(PrevDecl, Record, S))
H A DSemaLookup.cpp3730 if (S.IdResolver.isDeclInScope(*I, Ctx)) {
H A DSemaOpenMP.cpp2686 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(),
2708 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(),
2820 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) {
H A DSemaTemplate.cpp1722 !isDeclInScope(Previous.getRepresentativeDecl(), SemanticContext,

Completed in 468 milliseconds