Lines Matching defs:CurContext

1556   DeclContext *DC = SemaRef.CurContext;
2352 DeclContext *CurContext,
2500 SemaRef.CurContext->getParent(), /*AsExpression=*/false);
3001 if (!SemaRef.CurContext->isDependentContext())
3018 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
3021 if (SemaRef.CurContext->isDependentContext())
3219 SemaRef.CurContext->addDecl(D);
3517 if (!SemaRef.CurContext->isFileContext()) {
3522 SemaRef.CurContext->addDecl(D);
3558 auto *Ctx = SemaRef.CurContext;
4418 DSAStack->setContext(SemaRef.CurContext);
4434 DeclContext *CurContext,
4453 auto *CED = OMPCapturedExprDecl::Create(C, CurContext, Id, Ty,
4457 CurContext->addHiddenDecl(CED);
4470 S.CurContext,
4482 /*WithInit=*/true, S.CurContext, /*AsExpression=*/true);
4529 if (!SemaRef.CurContext->isDependentContext() &&
4549 if (!VDC->Encloses(SemaRef.CurContext))
5241 assert(!S.CurContext->isDependentContext() &&
5360 /// Rewrite statements and expressions for Sema \p Actions CurContext.
5417 CapturedDecl *CS = cast<CapturedDecl>(Actions.CurContext);
5573 auto *CS = cast<CapturedDecl>(Actions.CurContext);
6123 if (AStmt && !SemaRef.CurContext->isDependentContext() &&
6758 if (!SemaRef.CurContext->isDependentContext() &&
8199 if (dependent() || SemaRef.CurContext->isDependentContext())
8283 if (dependent() || SemaRef.CurContext->isDependentContext())
8314 if (dependent() || SemaRef.CurContext->isDependentContext())
8392 if (dependent() || SemaRef.CurContext->isDependentContext())
8403 if (SemaRef.CurContext->isDependentContext() || Capture->containsErrors())
9201 if (CXXFor && SemaRef.CurContext->isDependentContext())
9250 if (ISC.dependent() || SemaRef.CurContext->isDependentContext() || HasErrors)
9669 if (SemaRef.CurContext->isDependentContext())
10527 if (!SemaRef.CurContext->isDependentContext()) {
10608 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10638 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10672 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10705 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10737 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
11422 if (SemaRef.CurContext->isDependentContext())
11499 if (SemaRef.CurContext->isDependentContext())
12537 if (SemaRef.CurContext->isDependentContext())
12599 if (SemaRef.CurContext->isDependentContext())
12618 if (!SemaRef.CurContext->isDependentContext()) {
12673 if (SemaRef.CurContext->isDependentContext())
12709 if (IsUpdateExprFound && !SemaRef.CurContext->isDependentContext()) {
12740 !SemaRef.CurContext->isDependentContext()) {
12837 if (SemaRef.CurContext->isDependentContext())
13219 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13296 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13334 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13452 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13491 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13611 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13640 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13782 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13873 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13927 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
14152 if (SemaRef.CurContext->isDependentContext())
14430 if (SemaRef.CurContext->isDependentContext())
14698 if (SemaRef.CurContext->isDependentContext())
14868 DeclContext *CurContext = SemaRef.CurContext;
14887 if (CurContext->isDependentContext())
15296 !SemaRef.CurContext->isDependentContext()) {
15329 !SemaRef.CurContext->isDependentContext()) {
15418 !SemaRef.CurContext->isDependentContext()) {
15445 !SemaRef.CurContext->isDependentContext()) {
16309 !SemaRef.CurContext->isDependentContext()) {
16817 !SemaRef.CurContext->isDependentContext()) {
16849 !SemaRef.CurContext->isDependentContext()) {
16872 !SemaRef.CurContext->isDependentContext()) {
17222 if (!VD && !SemaRef.CurContext->isDependentContext()) {
17233 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
17497 SemaRef.CurContext->addDecl(VDPrivate);
17502 if (!VD && !SemaRef.CurContext->isDependentContext()) {
17520 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
17677 if (!VD && !SemaRef.CurContext->isDependentContext()) {
17701 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
17757 !SemaRef.CurContext->isDependentContext())
17760 Vars.push_back((VD || !Ref || SemaRef.CurContext->isDependentContext())
17951 if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() ||
18349 if (S.CurContext->isDependentContext() &&
18474 if (S.CurContext->isDependentContext() &&
18883 if (!VD && !S.CurContext->isDependentContext()) {
19144 if (!VD && !SemaRef.CurContext->isDependentContext()) {
19172 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
19722 if (SemaRef.CurContext->isDependentContext()) {
19773 if (!SemaRef.CurContext->isDependentContext() &&
19790 if (!SemaRef.CurContext->isDependentContext() && !IsSource &&
20036 !SemaRef.CurContext->isDependentContext()) {
20053 if (FullCheck && !SemaRef.CurContext->isDependentContext() &&
20820 if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() ||
21413 SemaRef.CurContext = DRD;
21475 SemaRef.CurContext = DRD;
21725 !SemaRef.CurContext->isDependentContext()) {
21753 !SemaRef.CurContext->isDependentContext()) {
21971 !SemaRef.CurContext->isDependentContext()) {
22494 SemaRef.CurContext->addDecl(VDPrivate);
22735 if (!VD && !SemaRef.CurContext->isDependentContext()) {
22810 if (!VD && !SemaRef.CurContext->isDependentContext())
22812 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
23187 !SemaRef.CurContext->isDependentContext()) {
23557 VarDecl::Create(Context, SemaRef.CurContext, StartLoc, D.DeclIdentLoc,
23568 SemaRef.FilterLookupForScope(Previous, SemaRef.CurContext, S,
23579 SemaRef.CurContext->addDecl(VD);
23639 if (!SemaRef.CurContext->isDependentContext()) {
23730 auto *CounterVD = VarDecl::Create(Context, SemaRef.CurContext,