Searched defs:LazyOffsetPtr (Results 1 – 1 of 1) sorted by relevance
325 struct LazyOffsetPtr { struct334 LazyOffsetPtr() = default; argument335 explicit LazyOffsetPtr(T *Ptr) : Ptr(reinterpret_cast<uint64_t>(Ptr)) {} in LazyOffsetPtr() function337 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) { in LazyOffsetPtr() function366 bool isValid() const { return Ptr != 0; } in isValid()369 bool isOffset() const { return Ptr & 0x01; } in isOffset()376 T* get(ExternalASTSource *Source) const { in get()