llvm with tablegen backend for capstone disassembler
Go to file
Duncan P. N. Exon Smith 11cb5385a9 Reapply "ADT: Tidy up ilist_traits static asserts, NFC"
This spiritually reapplies r279012 (reverted in r279052) without the
r278974 parts.  The differences:

  - Only the HasGetNext trait exists here, so I've only cleaned up (and
    tested) it.  I still added HasObsoleteCustomization since I know
    this will be expanding when r278974 is reapplied.

  - I changed the unit tests to use static_assert to catch problems
    earlier in the build.

  - I added negative tests for the type traits.

Original commit message follows.

----

Change the ilist traits to use decltype instead of sizeof, and add
HasObsoleteCustomization so that additions to this list don't
need to be added in two places.

I suspect this will now work with MSVC, since the trait tested in
r278991 seems to work.  If for some reason it continues to fail on
Windows I'll follow up by adding back the #ifndef _MSC_VER.

llvm-svn: 279312
2016-08-19 20:17:23 +00:00
clang clang-format: [JS] handle object literals with casts. 2016-08-19 14:35:01 +00:00
clang-tools-extra minor header guards and help messages cleanup 2016-08-19 09:36:14 +00:00
compiler-rt build: allow building a specific set of sanitizers 2016-08-19 15:13:21 +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 Implement vstore_half{,n} 2016-08-17 20:02:11 +00:00
libcxx [CMake] Get libcxx building under LLVM/runtimes 2016-08-18 21:31:51 +00:00
libcxxabi Default LIBCXXABI_LIBDIR_SUFFIX to LLVM_LIBDIR_SUFFIX 2016-08-16 03:44:55 +00:00
libunwind EHABI: cover switch once more 2016-08-18 23:59:12 +00:00
lld [ELF] - Fix for PR28976 - Corrupted section contents when using linker scripts 2016-08-19 15:46:28 +00:00
lldb [lldb][cmake] Remove libclang as an lldbBase dependency (NFCI) 2016-08-19 18:41:50 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Reapply "ADT: Tidy up ilist_traits static asserts, NFC" 2016-08-19 20:17:23 +00:00
openmp cleanup: fixed names of dummy arguments of Fortran interfaces declarations, no functional changes done 2016-08-17 18:18:21 +00:00
parallel-libs [StreamExecutor] Rename StreamExecutor to Executor 2016-08-16 18:18:32 +00:00
polly [SCEVValidator] Don't reorder multiplies in extractConstantFactor. 2016-08-18 16:30:42 +00:00