HomePhabricator

PDBExtras.h - remove unnecessary raw_ostream forward declaration. NFCI.

Authored by RKSimon on Aug 6 2020, 3:28 AM.

Description

PDBExtras.h - remove unnecessary raw_ostream forward declaration. NFCI.

We already need to include raw_ostream.h, also add missing StringRef.h and cstdint implicit dependencies.

Remove unnecessary includes from PDBExtras.cpp

Event Timeline

I had to revert this as this includes several headers in the middle of a function which just doesn't work. See inline comment.

/llvm/lib/DebugInfo/PDB/PDBExtras.cpp
141

Here are the includes.

I had to revert this as this includes several headers in the middle of a function which just doesn't work. See inline comment.

np - I'll redo with just the PDBExtras.h changes