From: NAKAMURA Takumi Date: Thu, 18 Jun 2015 04:07:12 +0000 (+0000) Subject: Reorder LLVM_ENABLE_ABI_BREAKING_CHECKS in llvm-config.h.*. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=8c6343bf99130983eb25fde47f662ffeea09b893 Reorder LLVM_ENABLE_ABI_BREAKING_CHECKS in llvm-config.h.*. FIXME: Could we unify the description of LLVM_ENABLE_ABI_BREAKING_CHECKS between *.in and *.cmake? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239986 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Config/llvm-config.h.cmake b/include/llvm/Config/llvm-config.h.cmake index bb7dc067ea0..e0f30678c0a 100644 --- a/include/llvm/Config/llvm-config.h.cmake +++ b/include/llvm/Config/llvm-config.h.cmake @@ -29,6 +29,10 @@ /* Installation directory for documentation */ #cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}" +/* Define if LLVM is built with asserts and checks that change the layout of + client-visible data structures. */ +#cmakedefine LLVM_ENABLE_ABI_BREAKING_CHECKS + /* Define if threads enabled */ #cmakedefine01 LLVM_ENABLE_THREADS @@ -101,8 +105,4 @@ /* Define if we link Polly to the tools */ #cmakedefine LINK_POLLY_INTO_TOOLS -/* Define if LLVM is built with asserts and checks that change the layout of - client-visible data structures. */ -#cmakedefine LLVM_ENABLE_ABI_BREAKING_CHECKS - #endif diff --git a/include/llvm/Config/llvm-config.h.in b/include/llvm/Config/llvm-config.h.in index 03e482ac175..2dd5d0af7b5 100644 --- a/include/llvm/Config/llvm-config.h.in +++ b/include/llvm/Config/llvm-config.h.in @@ -29,6 +29,9 @@ /* Installation directory for documentation */ #undef LLVM_DOCSDIR +/* Define to enable checks that alter the LLVM C++ ABI */ +#undef LLVM_ENABLE_ABI_BREAKING_CHECKS + /* Define if threads enabled */ #undef LLVM_ENABLE_THREADS @@ -98,7 +101,4 @@ /* LLVM version string */ #undef LLVM_VERSION_STRING -/* Define to enable checks that alter the LLVM C++ ABI */ -#undef LLVM_ENABLE_ABI_BREAKING_CHECKS - #endif