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

References

tools/clang/lib/AST/Interp/Interp.h
  725   if (!CheckNull(S, OpPC, Ptr, CSK_ArrayIndex))
  727   if (!CheckRange(S, OpPC, Ptr, CSK_ArrayToPointer))
  731   T Index = T::from(Ptr.getIndex(), Offset.bitWidth());
  735     S.Stk.push<Pointer>(Index.isZero() ? Ptr.atIndex(0) : Ptr);
  735     S.Stk.push<Pointer>(Index.isZero() ? Ptr.atIndex(0) : Ptr);
  739   if (!CheckArray(S, OpPC, Ptr))
  743   unsigned MaxIndex = Ptr.getNumElems();
  753         << /*array*/ static_cast<int>(!Ptr.inArray())
  765   unsigned MaxOffset = MaxIndex - Ptr.getIndex();
  775   S.Stk.push<Pointer>(Ptr.atIndex(static_cast<unsigned>(Result)));