LLVM  7.0.0
DIAEnumTables.h
Go to the documentation of this file.
1 //===- DIAEnumTables.h - DIA Tables Enumerator Impl -------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAENUMTABLES_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMTABLES_H
12 
13 #include "DIASupport.h"
16 
17 namespace llvm {
18 namespace pdb {
19 class IPDBTable;
20 
21 class DIAEnumTables : public IPDBEnumChildren<IPDBTable> {
22 public:
23  explicit DIAEnumTables(CComPtr<IDiaEnumTables> DiaEnumerator);
24 
25  uint32_t getChildCount() const override;
26  std::unique_ptr<IPDBTable> getChildAtIndex(uint32_t Index) const override;
27  std::unique_ptr<IPDBTable> getNext() override;
28  void reset() override;
29  DIAEnumTables *clone() const override;
30 
31 private:
32  CComPtr<IDiaEnumTables> Enumerator;
33 };
34 }
35 }
36 
37 #endif // LLVM_DEBUGINFO_PDB_DIA_DIAENUMTABLES_H
std::unique_ptr< IPDBTable > getNext() override
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
uint32_t getChildCount() const override
DIAEnumTables * clone() const override
std::unique_ptr< IPDBTable > getChildAtIndex(uint32_t Index) const override
DIAEnumTables(CComPtr< IDiaEnumTables > DiaEnumerator)