[PATCH] D86126: Fix issue 47160: "`llvm::is_trivially_copyable` -- static assertion failure after DR 1734"

Jason Vas Dias via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 12:27:34 PST 2021


JVD added a comment.

With the above patch applied, and your patch, ie. to comment out or remove from Support/type_traits.h :

\#ifdef HAVE_STD_IS_TRIVIALLY_COPYABLE

  static_assert(value == std::is_trivially_copyable<T>::value,
                "inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable");

\#endif

Then all 384 LLVM projects, including the ones I want (llc.exe, lli.exe, opt.exe) are built OK for (Release, x64) in Visual Studio 2019 .


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86126/new/

https://reviews.llvm.org/D86126



More information about the llvm-commits mailing list