Home
last modified time | relevance | path

Searched defs:LazyOffsetPtr (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExternalASTSource.h323 struct LazyOffsetPtr { struct
332 LazyOffsetPtr() = default; argument
333 explicit LazyOffsetPtr(T *Ptr) : Ptr(reinterpret_cast<uint64_t>(Ptr)) {} in LazyOffsetPtr() argument
335 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) { in LazyOffsetPtr() function
364 bool isValid() const { return Ptr != 0; } in isValid()
367 bool isOffset() const { return Ptr & 0x01; } in isOffset()
374 T* get(ExternalASTSource *Source) const { in get()