[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.
This commit is contained in:
Kazu Hirata 2021-01-27 23:25:38 -08:00
parent 50f1aa1db5
commit f82b5a647e
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ namespace msf {
class MappedBlockStream;
}
namespace pdb {
class PDBFile;
class PDBStringTable;
class InjectedSourceStream {

View File

@ -17,6 +17,7 @@ namespace llvm {
namespace pdb {
class InjectedSourceStream;
class PDBFile;
class PDBStringTable;
class NativeEnumInjectedSources : public IPDBEnumChildren<IPDBInjectedSource> {