summaryrefslogtreecommitdiff
path: root/include/llvm-c
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
commit29a776b8242d63cafc3d26e8183fee13273fca2e (patch)
tree3f698de83508d2d9355078dc1ae3e043507d3b7f /include/llvm-c
parentc4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9 (diff)
downloadllvm-29a776b8242d63cafc3d26e8183fee13273fca2e.tar.gz
llvm-29a776b8242d63cafc3d26e8183fee13273fca2e.tar.bz2
llvm-29a776b8242d63cafc3d26e8183fee13273fca2e.tar.xz
Add 'undef's to make SWIG happier. Patch by Baozeng Ding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Target.h b/include/llvm-c/Target.h
index 258a2bee95..568e60dfb4 100644
--- a/include/llvm-c/Target.h
+++ b/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