Skip to content

Commit aa896a0

Browse files
committed
Remove unnecessary forward declarations. NFCI.
All of these forward declarations are fully defined in headers that are directly included.
1 parent bb037c2 commit aa896a0

File tree

9 files changed

+0
-11
lines changed

9 files changed

+0
-11
lines changed

llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ class StringRef;
4242
class raw_ostream;
4343

4444
namespace pdb {
45-
class IPDBRawSymbol;
4645
class IPDBSession;
4746

4847
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue) \

llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class TargetMachine;
2828

2929
namespace orc {
3030

31-
class JITTargetMachineBuilder;
32-
3331
IRSymbolMapper::ManglingOptions
3432
irManglingOptionsFromTargetOptions(const TargetOptions &Opts);
3533

llvm/include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
namespace llvm {
2323

2424
class Module;
25-
class JITSymbolResolver;
2625

2726
namespace orc {
2827

llvm/include/llvm/IR/LegacyPassManagers.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
namespace llvm {
8989
template <typename T> class ArrayRef;
9090
class Module;
91-
class Pass;
9291
class StringRef;
9392
class Value;
9493
class Timer;

llvm/include/llvm/MC/MCELFObjectWriter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ namespace llvm {
2323
class MCAssembler;
2424
class MCContext;
2525
class MCFixup;
26-
class MCObjectWriter;
2726
class MCSymbol;
2827
class MCSymbolELF;
2928
class MCValue;

llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
namespace llvm {
2525

2626
class MCInst;
27-
class MCParsedAsmOperand;
2827
class MCStreamer;
2928
class MCSubtargetInfo;
3029
template <typename T> class SmallVectorImpl;

llvm/include/llvm/ProfileData/SampleProf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737

3838
namespace llvm {
3939

40-
class raw_ostream;
41-
4240
const std::error_category &sampleprof_category();
4341

4442
enum class sampleprof_error {

llvm/include/llvm/Transforms/Utils/LoopUtils.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class ScalarEvolution;
3939
class SCEV;
4040
class SCEVExpander;
4141
class TargetLibraryInfo;
42-
class TargetTransformInfo;
4342
class LPPassManager;
4443
class Instruction;
4544
struct RuntimeCheckingPtrGroup;

llvm/include/llvm/Transforms/Utils/LoopVersioning.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ namespace llvm {
2525
class Loop;
2626
class LoopAccessInfo;
2727
class LoopInfo;
28-
class ScalarEvolution;
2928
struct RuntimeCheckingPtrGroup;
3029
typedef std::pair<const RuntimeCheckingPtrGroup *,
3130
const RuntimeCheckingPtrGroup *>

0 commit comments

Comments
 (0)