Lines Matching refs:Current
61 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable()
101 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive()
119 const SourceInfo &E = S.Current->getSource(OpPC); in CheckTemporary()
135 S.FFDiag(S.Current->getLocation(OpPC), diag::note_constexpr_modify_global); in CheckGlobal()
149 assert(S.Current); in cleanupAfterFunctionCall()
150 const Function *CurFunc = S.Current->getFunction(); in cleanupAfterFunctionCall()
160 cast<CallExpr>(S.Current->Caller->getExpr(S.Current->getRetPC())); in cleanupAfterFunctionCall()
168 if (S.Current->Caller && CurFunc->isVariadic()) { in cleanupAfterFunctionCall()
173 cast<CallExpr>(S.Current->Caller->getExpr(S.Current->getRetPC())); in cleanupAfterFunctionCall()
184 S.Current->popArgs(); in cleanupAfterFunctionCall()
201 const SourceInfo &E = S.Current->getSource(OpPC); in CheckArray()
209 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
220 const auto &Src = S.Current->getSource(OpPC); in CheckLive()
282 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull()
291 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
300 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange()
310 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckSubobject()
322 if (const Function *Func = S.Current->getFunction(); in CheckConst()
324 Ptr.block() == S.Current->getThis().block()) { in CheckConst()
329 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckConst()
340 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable()
353 S.FFDiag(S.Current->getSource(OpPC), diag::note_constexpr_access_uninit) in CheckInitialized()
354 << AK << /*uninitialized=*/true << S.Current->getRange(OpPC); in CheckInitialized()
417 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckCallable()
423 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckCallable()
464 if ((S.Current->getDepth() + 1) > S.getLangOpts().ConstexprCallDepth) { in CheckCallDepth()
465 S.FFDiag(S.Current->getSource(OpPC), in CheckCallDepth()
478 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckThis()
495 const SourceInfo &E = S.Current->getSource(OpPC); in CheckPure()
506 const SourceInfo &E = S.Current->getSource(OpPC); in CheckPotentialReinterpretCast()
508 << 2 << S.getLangOpts().CPlusPlus << S.Current->getRange(OpPC); in CheckPotentialReinterpretCast()
514 const SourceInfo &E = S.Current->getSource(OpPC); in CheckFloatResult()
522 << /*NaN=*/true << S.Current->getRange(OpPC); in CheckFloatResult()
563 const SourceInfo &E = S.Current->getSource(OpPC); in CheckDeclRef()
594 const InterpFrame *StartFrame = S.Current; in Interpret()
595 assert(!S.Current->isRoot()); in Interpret()
596 CodePtr PC = S.Current->getPC(); in Interpret()