10 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_DBIMODULELIST_H
11 #define LLVM_DEBUGINFO_PDB_NATIVE_DBIMODULELIST_H
30 struct FileInfoSubstreamHeader;
34 std::random_access_iterator_tag, StringRef> {
37 std::random_access_iterator_tag,
StringRef>;
61 bool isUniversalEnd()
const;
101 std::vector<uint32_t> ModuleInitialFileIndex;
106 std::vector<uint32_t> ModuleDescriptorOffsets;
118 #endif // LLVM_DEBUGINFO_PDB_NATIVE_DBIMODULELIST_H
DbiModuleSourceFilesIterator & operator-=(std::ptrdiff_t N)
DbiModuleSourceFilesIterator & operator+=(std::ptrdiff_t N)
This provides a very simple, boring adaptor for a begin and end iterator into a range type...
std::ptrdiff_t operator-(const DbiModuleSourceFilesIterator &R) const
Tagged union holding either a T or a Error.
DbiModuleSourceFilesIterator & operator=(const DbiModuleSourceFilesIterator &R)=default
DbiModuleSourceFilesIterator()=default
CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of ...
Error initialize(BinaryStreamRef ModInfo, BinaryStreamRef FileInfo)
Expected< StringRef > getFileName(uint32_t Index) const
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
bool operator==(const DbiModuleSourceFilesIterator &R) const
A range adaptor for a pair of iterators.
const StringRef & operator*() const
uint32_t getSourceFileCount() const
bool operator<(const DbiModuleSourceFilesIterator &RHS) const
uint32_t getModuleCount() const
Lightweight error class with error context and mandatory checking.
DbiModuleDescriptor getModuleDescriptor(uint32_t Modi) const
StringRef - Represent a constant reference to a string, i.e.
iterator_range< DbiModuleSourceFilesIterator > source_files(uint32_t Modi) const