Lines Matching defs:CurContext
1524 DeclContext *DC = SemaRef.CurContext;
2320 DeclContext *CurContext,
2468 SemaRef.CurContext->getParent(), /*AsExpression=*/false);
2976 if (!SemaRef.CurContext->isDependentContext())
2993 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
2996 if (SemaRef.CurContext->isDependentContext())
3194 SemaRef.CurContext->addDecl(D);
3492 if (!SemaRef.CurContext->isFileContext()) {
3497 SemaRef.CurContext->addDecl(D);
3533 auto *Ctx = SemaRef.CurContext;
4400 DSAStack->setContext(SemaRef.CurContext);
4416 DeclContext *CurContext,
4435 auto *CED = OMPCapturedExprDecl::Create(C, CurContext, Id, Ty,
4439 CurContext->addHiddenDecl(CED);
4452 S.CurContext,
4464 /*WithInit=*/true, S.CurContext, /*AsExpression=*/true);
4511 if (!SemaRef.CurContext->isDependentContext() &&
4531 if (!VDC->Encloses(SemaRef.CurContext))
5223 assert(!S.CurContext->isDependentContext() &&
5342 /// Rewrite statements and expressions for Sema \p Actions CurContext.
5399 CapturedDecl *CS = cast<CapturedDecl>(Actions.CurContext);
5555 auto *CS = cast<CapturedDecl>(Actions.CurContext);
6038 if (AStmt && !SemaRef.CurContext->isDependentContext() &&
6658 if (!SemaRef.CurContext->isDependentContext() &&
8180 if (dependent() || SemaRef.CurContext->isDependentContext())
8275 if (dependent() || SemaRef.CurContext->isDependentContext())
8306 if (dependent() || SemaRef.CurContext->isDependentContext())
8394 if (dependent() || SemaRef.CurContext->isDependentContext())
8405 if (SemaRef.CurContext->isDependentContext() || Capture->containsErrors())
9205 if (CXXFor && SemaRef.CurContext->isDependentContext())
9255 if (ISC.dependent() || SemaRef.CurContext->isDependentContext() || HasErrors)
9714 if (SemaRef.CurContext->isDependentContext())
10547 if (!SemaRef.CurContext->isDependentContext()) {
10628 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10658 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10692 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10725 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
10757 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
11444 if (SemaRef.CurContext->isDependentContext())
11521 if (SemaRef.CurContext->isDependentContext())
12559 if (SemaRef.CurContext->isDependentContext())
12621 if (SemaRef.CurContext->isDependentContext())
12640 if (!SemaRef.CurContext->isDependentContext()) {
12695 if (SemaRef.CurContext->isDependentContext())
12731 if (IsUpdateExprFound && !SemaRef.CurContext->isDependentContext()) {
12762 !SemaRef.CurContext->isDependentContext()) {
12859 if (SemaRef.CurContext->isDependentContext())
13266 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13345 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13383 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13505 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13544 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13661 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13689 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13831 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13922 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
13992 assert((SemaRef.CurContext->isDependentContext() || B.builtAll()) &&
14235 if (SemaRef.CurContext->isDependentContext())
14513 if (SemaRef.CurContext->isDependentContext())
14781 if (SemaRef.CurContext->isDependentContext())
14951 DeclContext *CurContext = SemaRef.CurContext;
14972 if (CurContext->isDependentContext())
15423 !SemaRef.CurContext->isDependentContext()) {
15456 !SemaRef.CurContext->isDependentContext()) {
15545 !SemaRef.CurContext->isDependentContext()) {
15572 !SemaRef.CurContext->isDependentContext()) {
16476 !SemaRef.CurContext->isDependentContext()) {
16984 !SemaRef.CurContext->isDependentContext()) {
17016 !SemaRef.CurContext->isDependentContext()) {
17039 !SemaRef.CurContext->isDependentContext()) {
17409 if (!VD && !SemaRef.CurContext->isDependentContext()) {
17420 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
17684 SemaRef.CurContext->addDecl(VDPrivate);
17689 if (!VD && !SemaRef.CurContext->isDependentContext()) {
17707 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
17864 if (!VD && !SemaRef.CurContext->isDependentContext()) {
17888 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
17944 !SemaRef.CurContext->isDependentContext())
17947 Vars.push_back((VD || !Ref || SemaRef.CurContext->isDependentContext())
18138 if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() ||
18539 if (S.CurContext->isDependentContext() &&
18664 if (S.CurContext->isDependentContext() &&
19073 if (!VD && !S.CurContext->isDependentContext()) {
19334 if (!VD && !SemaRef.CurContext->isDependentContext()) {
19362 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
19912 if (SemaRef.CurContext->isDependentContext()) {
19963 if (!SemaRef.CurContext->isDependentContext() &&
19980 if (!SemaRef.CurContext->isDependentContext() && !IsSource &&
20226 !SemaRef.CurContext->isDependentContext()) {
20243 if (FullCheck && !SemaRef.CurContext->isDependentContext() &&
21010 if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() ||
21201 if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() ||
21817 SemaRef.CurContext = DRD;
21879 SemaRef.CurContext = DRD;
22127 if (CaptureRegion == OMPD_unknown || SemaRef.CurContext->isDependentContext())
22163 if (CaptureRegion == OMPD_unknown || SemaRef.CurContext->isDependentContext())
22388 !SemaRef.CurContext->isDependentContext()) {
22913 SemaRef.CurContext->addDecl(VDPrivate);
23154 if (!VD && !SemaRef.CurContext->isDependentContext()) {
23253 if (!VD && !SemaRef.CurContext->isDependentContext())
23255 Vars.push_back((VD || SemaRef.CurContext->isDependentContext())
23633 !SemaRef.CurContext->isDependentContext()) {
24036 VarDecl::Create(Context, SemaRef.CurContext, StartLoc, D.DeclIdentLoc,
24047 SemaRef.FilterLookupForScope(Previous, SemaRef.CurContext, S,
24058 SemaRef.CurContext->addDecl(VD);
24118 if (!SemaRef.CurContext->isDependentContext()) {
24209 auto *CounterVD = VarDecl::Create(Context, SemaRef.CurContext,