[llvm] f75e91f - IPDBRawSymbol.h - remove already declared forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat May 30 04:00:37 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-30T12:00:17+01:00
New Revision: f75e91fa131cd91efdb0935d163d8858390f459a

URL: https://github.com/llvm/llvm-project/commit/f75e91fa131cd91efdb0935d163d8858390f459a
DIFF: https://github.com/llvm/llvm-project/commit/f75e91fa131cd91efdb0935d163d8858390f459a.diff

LOG: IPDBRawSymbol.h - remove already declared forward declarations. NFC.

PDBTypes.h holds most PDB forward declarations already, move IPDBSession in there as well.

Added: 
    

Modified: 
    llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
    llvm/include/llvm/DebugInfo/PDB/PDBTypes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h b/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
index 5480d6b1d6fc..f59e933ca575 100644
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
+++ b/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
@@ -21,10 +21,6 @@ class StringRef;
 
 namespace pdb {
 
-class IPDBSession;
-class PDBSymbolTypeVTable;
-class PDBSymbolTypeVTableShape;
-
 enum class PdbSymbolIdField : uint32_t {
   None = 0,
   SymIndexId = 1 << 0,

diff  --git a/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h b/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h
index c26d8d1ed10c..66c842336e90 100644
--- a/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h
+++ b/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h
@@ -28,6 +28,7 @@ class IPDBDataStream;
 class IPDBInjectedSource;
 class IPDBLineNumber;
 class IPDBSectionContrib;
+class IPDBSession;
 class IPDBSourceFile;
 class IPDBTable;
 class PDBSymDumper;


        


More information about the llvm-commits mailing list