• Home
  • Raw
  • Download

Lines Matching refs:CurContext

71       cast<Decl>(CurContext)->getAvailability() != AR_Unavailable)  in CanUseDecl()
375 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext); in DiagnoseUseOfDecl()
376 if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) && in DiagnoseUseOfDecl()
1739 if (const FunctionDecl *Caller = dyn_cast<FunctionDecl>(CurContext)) in BuildDeclRefExpr()
1879 DeclContext *DC = SS.isEmpty() ? CurContext : nullptr; in DiagnoseEmptyLookup()
1894 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup()
2076 else if (auto *MD = dyn_cast<CXXMethodDecl>(S.CurContext)) in recoverFromMSUnqualifiedLookup()
2516 if (CurContext->isClosure()) in LookupInObjCMethod()
4649 S.getScopeForContext(S.CurContext), nullptr, in TryTypoCorrectionForCall()
9671 DeclContext *DC = S.CurContext, *Prev = nullptr; in isReferenceToNonConstCapture()
11933 BlockDecl *Block = BlockDecl::Create(Context, CurContext, CaretLoc); in ActOnBlockStart()
11946 CurContext->addDecl(Block); in ActOnBlockStart()
11950 CurContext = Block; in ActOnBlockStart()
12219 if (const FunctionDecl *F = dyn_cast<FunctionDecl>(CurContext)) { in BuildVAArgExpr()
12915 if (SemaRef.CurContext->isDependentContext()) in IsPotentiallyEvaluatedContext()
13059 if (CurContext == Func) return; in MarkFunctionReferenced()
13152 if (!S.getLangOpts().CPlusPlus && !S.CurContext->isFunctionOrMethod()) in diagnoseUncapturableValueReference()
13562 DeclContext *DC = CurContext; in tryCaptureVariable()
13880 (SemaRef.CurContext != Var->getDeclContext() && in DoMarkVarDeclReferenced()