Home
last modified time | relevance | path

Searched refs:isDeclScope (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DIdentifierResolver.cpp108 if (S->isDeclScope(D)) in isDeclInScope()
128 if (S->isDeclScope(D)) in isDeclInScope()
132 return S->getParent()->isDeclScope(D); in isDeclInScope()
H A DScope.cpp162 if (*NRVO && isDeclScope(*NRVO)) in applyNRVO()
H A DSemaLookup.cpp1305 for (; I != IEnd && S->isDeclScope(*I); ++I) { in CppLookupName()
1314 if (!LeftStartingScope && !Initial->isDeclScope(*I)) in CppLookupName()
1459 for (; I != IEnd && S->isDeclScope(*I); ++I) { in CppLookupName()
2201 if (!LeftStartingScope && !S->isDeclScope(*I)) in LookupName()
2222 while (S && !S->isDeclScope(D)) in LookupName()
2240 if (!S->isDeclScope(*LastI)) in LookupName()
H A DSemaDecl.cpp1536 if (S->isDeclScope(*I) && D->declarationReplaces(*I)) { in PushOnScopeChains()
1554 if (!S->isDeclScope(*I)) in PushOnScopeChains()
2573 assert(EnumScope->isDeclScope(ED)); in MergeTypedefNameDecl()
14264 } else if (S->isDeclScope(PrevDecl)) { in ActOnParamDeclarator()
16671 S->isDeclScope(PrevDecl)) { in ActOnTag()
H A DSemaDeclObjC.cpp4772 if (S->isDeclScope(PrevDecl)) { in ActOnMethodDeclaration()
H A DSemaExprCXX.cpp841 if (S->isDeclScope(Var)) { in ActOnCXXThrow()
H A DSemaOpenMP.cpp1640 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal()
18509 } while (S && !S->isDeclScope(D)); in buildDeclareReductionRef()
21282 while (S && !S->isDeclScope(D)) in buildUserDefinedMapperRef()
H A DSemaCodeComplete.cpp5427 if (S->isTemplateParamScope() && S->isDeclScope(D)) in getTemplatedEntity()
H A DSemaDeclCXX.cpp16516 assert(!S->isDeclScope(PrevDecl)); in ActOnExceptionDeclarator()
H A DSemaExpr.cpp14917 if (VD->hasLocalStorage() && getCurScope()->isDeclScope(VD)) in CreateBuiltinBinOp()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScope.h354 bool isDeclScope(const Decl *D) const { return DeclsInScope.contains(D); } in isDeclScope() function