aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-01 17:17:46 +0000
committerChris Lattner <sabre@nondot.org>2006-06-01 17:17:46 +0000
commit080e25d884d9b9499b3e5330f42847fbb8db8232 (patch)
treeec51d30e40b16112832ca0f2645d968d1b79817c /lib/Analysis
parent08a9a985dc7881cad0321ae95147f0a4b04647a8 (diff)
downloadexternal_llvm-080e25d884d9b9499b3e5330f42847fbb8db8232.zip
external_llvm-080e25d884d9b9499b3e5330f42847fbb8db8232.tar.gz
external_llvm-080e25d884d9b9499b3e5330f42847fbb8db8232.tar.bz2
Fix -pedantic warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/IPA/CallGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp
index 71b303b..f8846d3 100644
--- a/lib/Analysis/IPA/CallGraph.cpp
+++ b/lib/Analysis/IPA/CallGraph.cpp
@@ -19,7 +19,7 @@
#include <iostream>
using namespace llvm;
-void llvm::BasicCallGraphStub() {}
+int llvm::BasicCallGraphStub;
static bool isOnlyADirectCall(Function *F, CallSite CS) {
if (!CS.getInstruction()) return false;