[llvm] r346627 - [IPSCCP] Delete two forward declarations
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 11 15:17:46 PST 2018
Author: maskray
Date: Sun Nov 11 15:17:46 2018
New Revision: 346627
URL: http://llvm.org/viewvc/llvm-project?rev=346627&view=rev
Log:
[IPSCCP] Delete two forward declarations
Summary: Use forward declaration as the reviewer is in favor of #include and delete a redundant declaration of Function.
Reviewers: fhahn
Reviewed By: fhahn
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D54398
Modified:
llvm/trunk/include/llvm/Transforms/Scalar/SCCP.h
Modified: llvm/trunk/include/llvm/Transforms/Scalar/SCCP.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar/SCCP.h?rev=346627&r1=346626&r2=346627&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Scalar/SCCP.h (original)
+++ llvm/trunk/include/llvm/Transforms/Scalar/SCCP.h Sun Nov 11 15:17:46 2018
@@ -22,7 +22,6 @@
#define LLVM_TRANSFORMS_SCALAR_SCCP_H
#include "llvm/ADT/STLExtras.h"
-#include "llvm/Analysis/PostDominators.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Function.h"
@@ -32,7 +31,6 @@
namespace llvm {
-class Function;
class PostDominatorTree;
/// This pass performs function-level constant propagation and merging.
More information about the llvm-commits
mailing list