LLVM: include/llvm/DebugInfo/PDB/IPDBEnumChildren.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H

10#define LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H

11

13#include

14#include

15#include

16

17namespace llvm {

18namespace pdb {

19

32

33template

36 std::unique_ptr getChildAtIndex(uint32_t Index) const override {

37 return nullptr;

38 }

39 std::unique_ptr getNext() override { return nullptr; }

40 void reset() override {}

41};

42

43}

44}

45

46#endif

Definition IPDBEnumChildren.h:20

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

Definition IPDBEnumChildren.h:22

IPDBEnumChildren< ChildType > MyType

Definition IPDBEnumChildren.h:23

Definition IPDBEnumChildren.h:34

This is an optimization pass for GlobalISel generic memory operations.