Go to file
Bob Wilson 4074b6b686 allow migrating away from cmake option for LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
In r288754, Mehdi added a cmake option to disable enforcement of the ABI
breaking checks in the "abi-breaking.h" header. We used that when building
Swift and it works, but I think it will be better to control this with a
preprocessor macro instead of a cmake option. That will let us opt out of
the enforcement more selectively.

This change allows skipping the cmake setting if the existing preprocessor
macro is already defined. My intention here is to make this change and get
Swift to use it, and then after a few weeks, we can remove the cmake option.
I want to stage it like that to be less disruptive. I'm not aware of anyone
else using that cmake option.

Mehdi had some initial concern about the impact of using a preprocessor
macro when building with modules enabled. I don't think that will be a
problem if we set the macro on the command line with a -D option in those
contexts where we need to disable the enforcement of the checks.

https://reviews.llvm.org/D29919

llvm-svn: 295090
2017-02-14 19:06:43 +00:00
clang [profiling] Update test case to deal with name variable change (NFC) 2017-02-14 18:49:03 +00:00
clang-tools-extra [clang-tidy] Add support for NOLINTNEXTLINE. 2017-02-14 12:47:56 +00:00
compiler-rt [compiler-rt][asan|win] Fix flaky unittest due to large allocations 2017-02-14 18:57:17 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Move BufferPtr into the block where it it being used 2017-02-12 21:33:49 +00:00
libcxx Add tests for noexcept functions 2017-02-13 22:44:39 +00:00
libcxxabi Fix path to libc++'s python test module 2017-02-09 23:58:54 +00:00
libunwind Revert "[libunwind][CMake] Use libc++ headers when available" 2017-02-09 03:56:47 +00:00
lld Remove stray semicolon. 2017-02-14 17:36:23 +00:00
lldb Remove dependencies from Utility to Core and Target. 2017-02-14 19:06:07 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm allow migrating away from cmake option for LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING 2017-02-14 19:06:43 +00:00
openmp libomptarget: Disable on Win32 2017-02-10 17:13:28 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopDetectDiagnostics] Do not format unnamed array names 2017-02-12 10:53:02 +00:00