Lines Matching refs:Current

63   const SourceInfo &E = S.Current->getSource(OpPC);  in diagnoseMissingInitializer()
72 const SourceInfo &E = S.Current->getSource(OpPC); in diagnoseUnknownDecl()
98 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
151 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
169 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
185 S.FFDiag(S.Current->getLocation(OpPC), diag::note_constexpr_modify_global); in CheckGlobal()
199 assert(S.Current); in cleanupAfterFunctionCall()
200 const Function *CurFunc = S.Current->getFunction(); in cleanupAfterFunctionCall()
210 cast<CallExpr>(S.Current->Caller->getExpr(S.Current->getRetPC())); in cleanupAfterFunctionCall()
218 if (S.Current->Caller && CurFunc->isVariadic()) { in cleanupAfterFunctionCall()
225 const Expr *CallSite = S.Current->Caller->getExpr(S.Current->getRetPC()); in cleanupAfterFunctionCall()
245 S.Current->popArgs(); in cleanupAfterFunctionCall()
266 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
274 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
285 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
345 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull()
347 << CSK << S.Current->getRange(OpPC); in CheckNull()
356 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
358 << AK << S.Current->getRange(OpPC); in CheckRange()
366 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
368 << CSK << S.Current->getRange(OpPC); in CheckRange()
377 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckSubobject()
379 << CSK << S.Current->getRange(OpPC); in CheckSubobject()
393 const auto *E = cast<CastExpr>(S.Current->getExpr(OpPC)); in CheckDowncast()
412 if (S.Current->getFunction()) { in CheckConst()
413 for (const InterpFrame *Frame = S.Current; Frame; Frame = Frame->Caller) { in CheckConst()
426 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckConst()
442 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable()
462 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckVolatile()
479 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckInitialized()
490 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_access_uninit) in CheckInitialized()
491 << AK << /*uninitialized=*/true << S.Current->getRange(OpPC); in CheckInitialized()
506 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckGlobalInitialized()
578 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckCallable()
591 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckCallable()
642 if ((S.Current->getDepth() + 1) > S.getLangOpts().ConstexprCallDepth) { in CheckCallDepth()
643 S.FFDiag(S.Current->getSource(OpPC), in CheckCallDepth()
656 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckThis()
673 const SourceInfo &E = S.Current->getSource(OpPC); in CheckPure()
681 const SourceInfo &E = S.Current->getSource(OpPC); in CheckFloatResult()
689 << /*NaN=*/true << S.Current->getRange(OpPC); in CheckFloatResult()
730 const SourceInfo &E = S.Current->getSource(OpPC); in CheckDynamicMemoryAllocation()
753 const SourceInfo &E = S.Current->getSource(OpPC); in CheckNewDeleteForms()
767 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckDeleteSource()
800 const SourceInfo &E = S.Current->getSource(OpPC); in CheckDummy()
816 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckNonNullArgs()
916 const SourceLocation &Loc = S.Current->getLocation(OpPC); in diagnoseEnumValue()
921 const SourceLocation &Loc = S.Current->getLocation(OpPC); in diagnoseEnumValue()
937 const InterpFrame *StartFrame = S.Current; in Interpret()
938 assert(!S.Current->isRoot()); in Interpret()
939 CodePtr PC = S.Current->getPC(); in Interpret()