aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-11 00:21:21 +0000
committerChris Lattner <sabre@nondot.org>2009-11-11 00:21:21 +0000
commit68cf6042c14ac649c6861bbd2d00993b15a5dfa6 (patch)
tree2bc73216ff9efd7798f4259113892e5573251618 /lib/Analysis
parent2f105c6e18b1cf0507be74dd03779b675d254a30 (diff)
downloadexternal_llvm-68cf6042c14ac649c6861bbd2d00993b15a5dfa6.zip
external_llvm-68cf6042c14ac649c6861bbd2d00993b15a5dfa6.tar.gz
external_llvm-68cf6042c14ac649c6861bbd2d00993b15a5dfa6.tar.bz2
remove redundant foward declaration. This function is already in
Analysis/Passes.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/LiveValues.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/LiveValues.cpp b/lib/Analysis/LiveValues.cpp
index 2bbe98a..02ec7d3 100644
--- a/lib/Analysis/LiveValues.cpp
+++ b/lib/Analysis/LiveValues.cpp
@@ -17,7 +17,9 @@
#include "llvm/Analysis/LoopInfo.h"
using namespace llvm;
-FunctionPass *llvm::createLiveValuesPass() { return new LiveValues(); }
+namespace llvm {
+ FunctionPass *createLiveValuesPass() { return new LiveValues(); }
+}
char LiveValues::ID = 0;
static RegisterPass<LiveValues>