llvm with tablegen backend for capstone disassembler
Go to file
Eric Fiselier b1e7a12ee8 Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros.
Clang recently added a `diagnose_if(cond, msg, type)` attribute
which can be used to generate diagnostics when `cond` is a constant
expression that evaluates to true. Otherwise no attribute has no
effect.

This patch adds _LIBCPP_DIAGNOSE_ERROR/WARNING macros which
use this new attribute. Additionally this patch implements
a diagnostic message when a non-const-callable comparator is
given to a container.

Note: For now the warning version of the diagnostic is useless
within libc++ since warning diagnostics are suppressed by the
system header pragma. I'm going to work on fixing this.

llvm-svn: 291961
2017-01-13 22:02:08 +00:00
clang PR31606: Generalize our tentative DR resolution for inheriting copy/move 2017-01-13 20:46:54 +00:00
clang-tools-extra Remove unused lambda captures. NFC 2017-01-13 19:02:50 +00:00
compiler-rt Remove SANITIZER_LINUX ifdefs 2017-01-13 19:25:58 +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 Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros. 2017-01-13 22:02:08 +00:00
libcxxabi [libc++abi] Add a silent terminate handler to libcxxabi. 2017-01-13 19:22:26 +00:00
libunwind Bump version to 5.0.0svn 2017-01-12 21:37:55 +00:00
lld Implement -Map. 2017-01-13 21:05:46 +00:00
lldb Fix TestRegisterVariables for linux arm/arm64 gcc ver > 5 2017-01-13 19:28:42 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Cleanup how DWARFDie attributes are accessed and decoded. 2017-01-13 21:08:18 +00:00
openmp kmp_affinity: Fix check if specific bit is set 2017-01-12 11:39:04 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly ScopInfo: use correct enum type in type definition 2017-01-13 21:46:48 +00:00