LLVM  8.0.1
DIAEnumLineNumbers.h
Go to the documentation of this file.
1 //==- DIAEnumLineNumbers.h - DIA Line Number 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_DIAENUMLINENUMBERS_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMLINENUMBERS_H
12 
13 #include "DIASupport.h"
16 
17 namespace llvm {
18 namespace pdb {
19 class IPDBLineNumber;
20 
21 class DIAEnumLineNumbers : public IPDBEnumChildren<IPDBLineNumber> {
22 public:
23  explicit DIAEnumLineNumbers(CComPtr<IDiaEnumLineNumbers> DiaEnumerator);
24 
25  uint32_t getChildCount() const override;
27  ChildTypePtr getNext() override;
28  void reset() override;
29 
30 private:
31  CComPtr<IDiaEnumLineNumbers> Enumerator;
32 };
33 }
34 }
35 
36 #endif
std::unique_ptr< IPDBLineNumber > ChildTypePtr
This class represents lattice values for constants.
Definition: AllocatorList.h:24
DIAEnumLineNumbers(CComPtr< IDiaEnumLineNumbers > DiaEnumerator)
ChildTypePtr getChildAtIndex(uint32_t Index) const override
ChildTypePtr getNext() override
uint32_t getChildCount() const override