Skip to content

Commit f82b5a6

Browse files
[DebugInfo] Forward-declare PDBFile (NFC)
NativeEnumInjectedSources.h needs PDBFile but relies on a forward declaration of PDBFile in InjectedSourceStream.h. This patch adds a forward declaration right in NativeEnumInjectedSources.h. While we are at it, this patch removes the one in InjectedSourceStream.h, where it is unnecessary.
1 parent 50f1aa1 commit f82b5a6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ namespace msf {
1818
class MappedBlockStream;
1919
}
2020
namespace pdb {
21-
class PDBFile;
2221
class PDBStringTable;
2322

2423
class InjectedSourceStream {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace llvm {
1717
namespace pdb {
1818

1919
class InjectedSourceStream;
20+
class PDBFile;
2021
class PDBStringTable;
2122

2223
class NativeEnumInjectedSources : public IPDBEnumChildren<IPDBInjectedSource> {

0 commit comments

Comments
 (0)