reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/Interp/Interp.h
  723   const T &Offset = S.Stk.pop<T>();
  724   const Pointer &Ptr = S.Stk.pop<Pointer>();
  725   if (!CheckNull(S, OpPC, Ptr, CSK_ArrayIndex))
  727   if (!CheckRange(S, OpPC, Ptr, CSK_ArrayToPointer))
  735     S.Stk.push<Pointer>(Index.isZero() ? Ptr.atIndex(0) : Ptr);
  739   if (!CheckArray(S, OpPC, Ptr))
  751     S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index)
  751     S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index)
  775   S.Stk.push<Pointer>(Ptr.atIndex(static_cast<unsigned>(Result)));