llvm.org GIT mirror llvm / c831e63
Remove duplicate LLVM_NATIVE_ from llvm's config.h Summary: Since LLVM_NATIVE_ARCH, LLVM_NATIVE_ASMPARSER, LLVM_NATIVE_ASMPRINTER, LLVM_NATIVE_DISASSEMBLER, LLVM_NATIVE_TARGET, LLVM_NATIVE_TARGETINFO and LLVM_NATIVE_TARGETMC are already defined in llvm-config.h, there seems to be no reason to also define them in config.h. Also, I can only find usage of these macros in files that include llvm-config.h. So let's remove the duplicated macros from config.h. Reviewers: chandlerc, rnk, mehdi_amini, joerg Reviewed By: rnk Subscribers: chapuni, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D33881 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304714 91177308-0d34-0410-b5e6-96231b3b80d8 Dimitry Andric 3 years ago
1 changed file(s) with 0 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
349349 /* Host triple LLVM will be executed on */
350350 #cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
351351
352 /* LLVM architecture name for the native architecture, if available */
353 #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
354
355 /* LLVM name for the native AsmParser init function, if available */
356 #cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
357
358 /* LLVM name for the native AsmPrinter init function, if available */
359 #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
360
361 /* LLVM name for the native Disassembler init function, if available */
362 #cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
363
364 /* LLVM name for the native Target init function, if available */
365 #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
366
367 /* LLVM name for the native TargetInfo init function, if available */
368 #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
369
370 /* LLVM name for the native target MC init function, if available */
371 #cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
372
373352 /* Define if this is Unixish platform */
374353 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
375354