Searched refs:OffsetCache (Results 1 – 4 of 4) sorted by relevance
77 if (OffsetCache.isNull()) { in getLineNumber()79 OffsetCache = Offsets; in getLineNumber()89 Offsets = OffsetCache.get<std::vector<T> *>(); in getLineNumber()105 OffsetCache(Other.OffsetCache), in SrcBuffer()107 Other.OffsetCache = nullptr; in SrcBuffer()111 if (!OffsetCache.isNull()) { in ~SrcBuffer()112 if (OffsetCache.is<std::vector<uint8_t>*>()) in ~SrcBuffer()113 delete OffsetCache.get<std::vector<uint8_t>*>(); in ~SrcBuffer()114 else if (OffsetCache.is<std::vector<uint16_t>*>()) in ~SrcBuffer()115 delete OffsetCache.get<std::vector<uint16_t>*>(); in ~SrcBuffer()[all …]
72 static std::vector<T> &GetOrCreateOffsetCache(void *&OffsetCache, in GetOrCreateOffsetCache() argument74 if (OffsetCache) in GetOrCreateOffsetCache()75 return *static_cast<std::vector<T> *>(OffsetCache); in GetOrCreateOffsetCache()87 OffsetCache = Offsets; in GetOrCreateOffsetCache()94 GetOrCreateOffsetCache<T>(OffsetCache, Buffer.get()); in getLineNumberSpecialized()126 GetOrCreateOffsetCache<T>(OffsetCache, Buffer.get()); in getPointerForLineNumberSpecialized()159 : Buffer(std::move(Other.Buffer)), OffsetCache(Other.OffsetCache), in SrcBuffer()161 Other.OffsetCache = nullptr; in SrcBuffer()165 if (OffsetCache) { in ~SrcBuffer()168 delete static_cast<std::vector<uint8_t> *>(OffsetCache); in ~SrcBuffer()[all …]
60 mutable void *OffsetCache = nullptr; member
75 mutable VariableSizeOffsets OffsetCache; member