File indexing completed on 2026-05-10 08:43:44
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMTYPES_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMTYPES_H
0011
0012 #include "llvm/DebugInfo/CodeView/CodeView.h"
0013 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
0014 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
0015 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
0016
0017 #include <vector>
0018
0019 namespace llvm {
0020 namespace codeview {
0021 class LazyRandomTypeCollection;
0022 }
0023 namespace pdb {
0024
0025 class NativeSession;
0026
0027 class NativeEnumTypes : public IPDBEnumChildren<PDBSymbol> {
0028 public:
0029 NativeEnumTypes(NativeSession &Session,
0030 codeview::LazyRandomTypeCollection &TypeCollection,
0031 std::vector<codeview::TypeLeafKind> Kinds);
0032
0033 NativeEnumTypes(NativeSession &Session,
0034 std::vector<codeview::TypeIndex> Indices);
0035
0036 uint32_t getChildCount() const override;
0037 std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
0038 std::unique_ptr<PDBSymbol> getNext() override;
0039 void reset() override;
0040
0041 private:
0042 std::vector<codeview::TypeIndex> Matches;
0043 uint32_t Index;
0044 NativeSession &Session;
0045 };
0046
0047 }
0048 }
0049
0050 #endif