mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix -pedantic warning
llvm-svn: 28634
This commit is contained in:
parent
1d2618c6c7
commit
3d631893f9
@ -291,8 +291,8 @@ template<> struct GraphTraits<const CallGraph*> :
|
||||
static IncludeFile
|
||||
CALLGRAPH_INCLUDE_FILE(&CallGraph::stub);
|
||||
|
||||
extern void BasicCallGraphStub();
|
||||
static IncludeFile HDR_INCLUDE_CALLGRAPH_CPP((void*)&BasicCallGraphStub);
|
||||
extern int BasicCallGraphStub;
|
||||
static IncludeFile HDR_INCLUDE_CALLGRAPH_CPP(&BasicCallGraphStub);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user