Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:44

0001 //==- NativeEnumLineNumbers.h - Native Line Number Enumerator ------------*-==//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMLINENUMBERS_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMLINENUMBERS_H
0011 
0012 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
0013 #include "llvm/DebugInfo/PDB/IPDBLineNumber.h"
0014 #include "llvm/DebugInfo/PDB/Native/NativeLineNumber.h"
0015 #include <vector>
0016 
0017 namespace llvm {
0018 namespace pdb {
0019 
0020 class NativeEnumLineNumbers : public IPDBEnumChildren<IPDBLineNumber> {
0021 public:
0022   explicit NativeEnumLineNumbers(std::vector<NativeLineNumber> LineNums);
0023 
0024   uint32_t getChildCount() const override;
0025   ChildTypePtr getChildAtIndex(uint32_t Index) const override;
0026   ChildTypePtr getNext() override;
0027   void reset() override;
0028 
0029 private:
0030   std::vector<NativeLineNumber> Lines;
0031   uint32_t Index;
0032 };
0033 } // namespace pdb
0034 } // namespace llvm
0035 
0036 #endif