[llvm] b7b1a38 - PDBExtras.h - remove unnecessary raw_ostream forward declaration. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 08:33:41 PDT 2020
Author: Simon Pilgrim
Date: 2020-08-06T16:31:56+01:00
New Revision: b7b1a38d41ca3fc07894c48f050c32d49199972d
URL: https://github.com/llvm/llvm-project/commit/b7b1a38d41ca3fc07894c48f050c32d49199972d
DIFF: https://github.com/llvm/llvm-project/commit/b7b1a38d41ca3fc07894c48f050c32d49199972d.diff
LOG: PDBExtras.h - remove unnecessary raw_ostream forward declaration. NFCI.
We already need to include raw_ostream.h, also add missing StringRef.h implicit dependency.
Added:
Modified:
llvm/include/llvm/DebugInfo/PDB/PDBExtras.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h b/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h
index 97a92aa544ae..802d18a069ee 100644
--- a/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h
+++ b/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h
@@ -9,6 +9,7 @@
#ifndef LLVM_DEBUGINFO_PDB_PDBEXTRAS_H
#define LLVM_DEBUGINFO_PDB_PDBEXTRAS_H
+#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/PDB/PDBTypes.h"
#include "llvm/Support/raw_ostream.h"
@@ -17,8 +18,6 @@
namespace llvm {
-class raw_ostream;
-
namespace pdb {
using TagStats = std::unordered_map<PDB_SymType, int>;
@@ -51,7 +50,6 @@ void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent) {
OS << Name << ": " << Value;
}
-
} // end namespace pdb
} // end namespace llvm
More information about the llvm-commits
mailing list