Skip to content

Commit

Permalink
[IPO] Remove unused forward declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Jun 11, 2023
1 parent daac014 commit 9596b48
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions llvm/include/llvm/Transforms/IPO.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@

namespace llvm {

struct InlineParams;
class ModulePass;
class Pass;
class BasicBlock;
class GlobalValue;
class raw_ostream;

//===----------------------------------------------------------------------===//
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/IPO/FunctionAttrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class GlobalValueSummary;
class ModuleSummaryIndex;
class Function;
class Module;
class Pass;

/// Returns the memory access properties of this copy of the function.
MemoryEffects computeFunctionBodyMemoryAccess(Function &F, AAResults &AAR);
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/IPO/Internalize.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

namespace llvm {
class Module;
class CallGraph;

/// A pass that internalizes all functions and variables other than those that
/// must be preserved according to \c MustPreserveGV.
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class Module;

template <typename T> class ArrayRef;
template <typename T> class MutableArrayRef;
class Function;
class GlobalVariable;
class ModuleSummaryIndex;
struct ValueInfo;
Expand Down

0 comments on commit 9596b48

Please sign in to comment.