9#ifndef LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H
10#define LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H
33template <
typename ChildType>
35 uint32_t getChildCount()
const override {
return 0; }
36 std::unique_ptr<ChildType> getChildAtIndex(
uint32_t Index)
const override {
39 std::unique_ptr<ChildType> getNext()
override {
return nullptr; }
40 void reset()
override {}
virtual uint32_t getChildCount() const =0
virtual ~IPDBEnumChildren()=default
virtual ChildTypePtr getNext()=0
virtual ChildTypePtr getChildAtIndex(uint32_t Index) const =0
std::unique_ptr< ChildType > ChildTypePtr
This is an optimization pass for GlobalISel generic memory operations.