Skip to content

Commit 214772c

Browse files
author
Kyle Krueger
committed
move InputFile constructors out of header
1 parent b48f2db commit 214772c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class InputFile {
5555
getOrCreateTypeCollection(TypeCollectionKind Kind);
5656

5757
public:
58-
InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; }
59-
InputFile(object::COFFObjectFile *Obj) { PdbOrObj = Obj; }
60-
InputFile(MemoryBuffer *Buffer) { PdbOrObj = Buffer; }
58+
InputFile(PDBFile *Pdb);
59+
InputFile(object::COFFObjectFile *Obj);
60+
InputFile(MemoryBuffer *Buffer);
6161
LLVM_ABI ~InputFile();
6262
InputFile(InputFile &&Other) = default;
6363

llvm/lib/DebugInfo/PDB/Native/InputFile.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,3 +586,8 @@ bool llvm::pdb::shouldDumpSymbolGroup(uint32_t Idx, const SymbolGroup &Group,
586586
// Otherwise, only dump if this is the same module specified.
587587
return (Filters.DumpModi == Idx);
588588
}
589+
llvm::pdb::InputFile::InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; }
590+
591+
llvm::pdb::InputFile::InputFile(object::COFFObjectFile *Obj) { PdbOrObj = Obj; }
592+
593+
llvm::pdb::InputFile::InputFile(MemoryBuffer *Buffer) { PdbOrObj = Buffer; }

0 commit comments

Comments
 (0)