summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Target.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-26 22:15:12 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-26 22:15:12 +0000
commit12a98c9f07b1668c8cdd67b20d9acd9d40bf9e75 (patch)
treed374021b46bead8643804e4d8ca90564ecbc4941 /llvm/include/llvm-c/Target.h
parent4fab82cda65f94811976f593e48f8112a0bbcf90 (diff)
downloadbcm5719-llvm-12a98c9f07b1668c8cdd67b20d9acd9d40bf9e75.tar.gz
bcm5719-llvm-12a98c9f07b1668c8cdd67b20d9acd9d40bf9e75.zip
Add 'undef's to make SWIG happier. Patch by Baozeng Ding.
llvm-svn: 153479
Diffstat (limited to 'llvm/include/llvm-c/Target.h')
-rw-r--r--llvm/include/llvm-c/Target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h
index 258a2bee95c..568e60dfb43 100644
--- a/llvm/include/llvm-c/Target.h
+++ b/llvm/include/llvm-c/Target.h
@@ -58,16 +58,19 @@ typedef struct LLVMStructLayout *LLVMStructLayoutRef;
#define LLVM_ASM_PRINTER(TargetName) \
void LLVMInitialize##TargetName##AsmPrinter();
#include "llvm/Config/AsmPrinters.def"
+#undef LLVM_ASM_PRINTER /* Explicit undef to make SWIG happier */
/* Declare all of the available assembly parser initialization functions. */
#define LLVM_ASM_PARSER(TargetName) \
void LLVMInitialize##TargetName##AsmParser();
#include "llvm/Config/AsmParsers.def"
+#undef LLVM_ASM_PARSER /* Explicit undef to make SWIG happier */
/* Declare all of the available disassembler initialization functions. */
#define LLVM_DISASSEMBLER(TargetName) \
void LLVMInitialize##TargetName##Disassembler();
#include "llvm/Config/Disassemblers.def"
+#undef LLVM_DISASSEMBLER /* Explicit undef to make SWIG happier */
/** LLVMInitializeAllTargetInfos - The main program should call this function if
it wants access to all available targets that LLVM is configured to
OpenPOWER on IntegriCloud