mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
add some more (void)'s to prototypes for PR6961
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -43,7 +43,7 @@ typedef struct LLVMStructLayout *LLVMStructLayoutRef;
|
|||||||
/** LLVMInitializeAllTargetInfos - The main program should call this function if
|
/** LLVMInitializeAllTargetInfos - The main program should call this function if
|
||||||
it wants access to all available targets that LLVM is configured to
|
it wants access to all available targets that LLVM is configured to
|
||||||
support. */
|
support. */
|
||||||
static inline void LLVMInitializeAllTargetInfos() {
|
static inline void LLVMInitializeAllTargetInfos(void) {
|
||||||
#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
|
#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
|
||||||
#include "llvm/Config/Targets.def"
|
#include "llvm/Config/Targets.def"
|
||||||
#undef LLVM_TARGET /* Explicit undef to make SWIG happier */
|
#undef LLVM_TARGET /* Explicit undef to make SWIG happier */
|
||||||
@ -52,7 +52,7 @@ static inline void LLVMInitializeAllTargetInfos() {
|
|||||||
/** LLVMInitializeAllTargets - The main program should call this function if it
|
/** LLVMInitializeAllTargets - The main program should call this function if it
|
||||||
wants to link in all available targets that LLVM is configured to
|
wants to link in all available targets that LLVM is configured to
|
||||||
support. */
|
support. */
|
||||||
static inline void LLVMInitializeAllTargets() {
|
static inline void LLVMInitializeAllTargets(void) {
|
||||||
#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##Target();
|
#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##Target();
|
||||||
#include "llvm/Config/Targets.def"
|
#include "llvm/Config/Targets.def"
|
||||||
#undef LLVM_TARGET /* Explicit undef to make SWIG happier */
|
#undef LLVM_TARGET /* Explicit undef to make SWIG happier */
|
||||||
@ -61,7 +61,7 @@ static inline void LLVMInitializeAllTargets() {
|
|||||||
/** LLVMInitializeNativeTarget - The main program should call this function to
|
/** LLVMInitializeNativeTarget - The main program should call this function to
|
||||||
initialize the native target corresponding to the host. This is useful
|
initialize the native target corresponding to the host. This is useful
|
||||||
for JIT applications to ensure that the target gets linked in correctly. */
|
for JIT applications to ensure that the target gets linked in correctly. */
|
||||||
static inline LLVMBool LLVMInitializeNativeTarget() {
|
static inline LLVMBool LLVMInitializeNativeTarget(void) {
|
||||||
/* If we have a native target, initialize it to ensure it is linked in. */
|
/* If we have a native target, initialize it to ensure it is linked in. */
|
||||||
#ifdef LLVM_NATIVE_ARCH
|
#ifdef LLVM_NATIVE_ARCH
|
||||||
#define DoInit2(TARG) \
|
#define DoInit2(TARG) \
|
||||||
|
Reference in New Issue
Block a user