LLVM
20.0.0git
include
llvm
DebugInfo
PDB
Native
NativeEnumLineNumbers.h
Go to the documentation of this file.
1
//==- NativeEnumLineNumbers.h - Native Line Number Enumerator ------------*-==//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMLINENUMBERS_H
10
#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMLINENUMBERS_H
11
12
#include "
llvm/DebugInfo/PDB/IPDBEnumChildren.h
"
13
#include "
llvm/DebugInfo/PDB/IPDBLineNumber.h
"
14
#include "
llvm/DebugInfo/PDB/Native/NativeLineNumber.h
"
15
#include <vector>
16
17
namespace
llvm
{
18
namespace
pdb {
19
20
class
NativeEnumLineNumbers
:
public
IPDBEnumChildren
<IPDBLineNumber> {
21
public
:
22
explicit
NativeEnumLineNumbers
(std::vector<NativeLineNumber> LineNums);
23
24
uint32_t
getChildCount
()
const override
;
25
ChildTypePtr
getChildAtIndex
(
uint32_t
Index)
const override
;
26
ChildTypePtr
getNext
()
override
;
27
void
reset
()
override
;
28
29
private
:
30
std::vector<NativeLineNumber> Lines;
31
uint32_t
Index;
32
};
33
}
// namespace pdb
34
}
// namespace llvm
35
36
#endif
IPDBEnumChildren.h
IPDBLineNumber.h
NativeLineNumber.h
llvm::pdb::IPDBEnumChildren
Definition:
IPDBEnumChildren.h:20
llvm::pdb::IPDBEnumChildren< IPDBLineNumber >::ChildTypePtr
std::unique_ptr< IPDBLineNumber > ChildTypePtr
Definition:
IPDBEnumChildren.h:22
llvm::pdb::NativeEnumLineNumbers
Definition:
NativeEnumLineNumbers.h:20
llvm::pdb::NativeEnumLineNumbers::reset
void reset() override
Definition:
NativeEnumLineNumbers.cpp:38
llvm::pdb::NativeEnumLineNumbers::getChildCount
uint32_t getChildCount() const override
Definition:
NativeEnumLineNumbers.cpp:23
llvm::pdb::NativeEnumLineNumbers::getNext
ChildTypePtr getNext() override
Definition:
NativeEnumLineNumbers.cpp:34
llvm::pdb::NativeEnumLineNumbers::getChildAtIndex
ChildTypePtr getChildAtIndex(uint32_t Index) const override
Definition:
NativeEnumLineNumbers.cpp:28
uint32_t
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sat Dec 21 2024 20:52:03 for LLVM by
1.9.6