From a0d6f15cee86ca02c8701d4284b4c21ac161e8f1 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 18 Jun 2015 04:07:12 +0000 Subject: [PATCH] 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? llvm-svn: 239986 --- llvm/include/llvm/Config/llvm-config.h.cmake | 8 ++++---- llvm/include/llvm/Config/llvm-config.h.in | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/llvm/include/llvm/Config/llvm-config.h.cmake b/llvm/include/llvm/Config/llvm-config.h.cmake index bb7dc06..e0f3067 100644 --- a/llvm/include/llvm/Config/llvm-config.h.cmake +++ b/llvm/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/llvm/include/llvm/Config/llvm-config.h.in b/llvm/include/llvm/Config/llvm-config.h.in index 03e482a..2dd5d0a 100644 --- a/llvm/include/llvm/Config/llvm-config.h.in +++ b/llvm/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 -- 2.7.4