[Alignment][NFC] Convert StoreInst to MaybeAlign
[llvm-complete.git] / include / llvm / DebugInfo / PDB / Native / NativeEnumModules.h
blob94f1ee18ed9f43cbd4376d546b3860f6f9d58840
1 //==- NativeEnumModules.h - Native Module Enumerator impl --------*- C++ -*-==//
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMMODULES_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMMODULES_H
12 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
13 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
14 namespace llvm {
15 namespace pdb {
17 class NativeSession;
19 class NativeEnumModules : public IPDBEnumChildren<PDBSymbol> {
20 public:
21 NativeEnumModules(NativeSession &Session, uint32_t Index = 0);
23 uint32_t getChildCount() const override;
24 std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
25 std::unique_ptr<PDBSymbol> getNext() override;
26 void reset() override;
28 private:
29 NativeSession &Session;
30 uint32_t Index;
35 #endif