[llvm-commits] [llvm] r153479 - /llvm/trunk/include/llvm-c/Target.h
Bill Wendling
isanbard at gmail.com
Mon Mar 26 15:15:12 PDT 2012
Author: void
Date: Mon Mar 26 17:15:12 2012
New Revision: 153479
URL: http://llvm.org/viewvc/llvm-project?rev=153479&view=rev
Log:
Add 'undef's to make SWIG happier. Patch by Baozeng Ding.
Modified:
llvm/trunk/include/llvm-c/Target.h
Modified: llvm/trunk/include/llvm-c/Target.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Target.h?rev=153479&r1=153478&r2=153479&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Target.h (original)
+++ llvm/trunk/include/llvm-c/Target.h Mon Mar 26 17:15:12 2012
@@ -58,16 +58,19 @@
#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
More information about the llvm-commits
mailing list