LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/NativeEnumTypes.h"
Public Member Functions | |
NativeEnumTypes (NativeSession &Session, codeview::LazyRandomTypeCollection &TypeCollection, std::vector< codeview::TypeLeafKind > Kinds) | |
NativeEnumTypes (NativeSession &Session, std::vector< codeview::TypeIndex > Indices) | |
uint32_t | getChildCount () const override |
std::unique_ptr< PDBSymbol > | getChildAtIndex (uint32_t Index) const override |
std::unique_ptr< PDBSymbol > | getNext () override |
void | reset () override |
Public Member Functions inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol > | |
virtual | ~IPDBEnumChildren ()=default |
virtual uint32_t | getChildCount () const=0 |
virtual ChildTypePtr | getChildAtIndex (uint32_t Index) const=0 |
virtual ChildTypePtr | getNext ()=0 |
virtual void | reset ()=0 |
Additional Inherited Members | |
Public Types inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol > | |
using | ChildTypePtr = std::unique_ptr< PDBSymbol > |
using | MyType = IPDBEnumChildren< PDBSymbol > |
Definition at line 27 of file NativeEnumTypes.h.
NativeEnumTypes::NativeEnumTypes | ( | NativeSession & | Session, |
codeview::LazyRandomTypeCollection & | TypeCollection, | ||
std::vector< codeview::TypeLeafKind > | Kinds | ||
) |
Definition at line 24 of file NativeEnumTypes.cpp.
References llvm::codeview::getModifiedType(), llvm::is_contained(), llvm::codeview::TypeIndex::isSimple(), llvm::codeview::isUdtForwardRef(), and llvm::codeview::CVRecord< Kind >::kind().
NativeEnumTypes::NativeEnumTypes | ( | NativeSession & | Session, |
std::vector< codeview::TypeIndex > | Indices | ||
) |
Definition at line 51 of file NativeEnumTypes.cpp.
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 59 of file NativeEnumTypes.cpp.
References llvm::pdb::SymbolCache::findSymbolByTypeIndex(), llvm::pdb::SymbolCache::getSymbolById(), llvm::pdb::NativeSession::getSymbolCache(), and N.
Referenced by getNext().
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 55 of file NativeEnumTypes.cpp.
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 67 of file NativeEnumTypes.cpp.
References getChildAtIndex().
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 71 of file NativeEnumTypes.cpp.