[llvm] r198273 - Silence g++ 4.9 build issue in unit tests

Chandler Carruth chandlerc at google.com
Wed Jan 1 18:52:19 PST 2014


On Wed, Jan 1, 2014 at 5:35 PM, Alp Toker <alp at nuanti.com> wrote:

> & is there a reason we're not using the LLVM_STATIC_ASSERT macro here?
>>
>
> Requires LLVM_ENABLE_CXX11 which isn't yet enabled on most (any?) of the
> builders.
>
> I'd just wait until C++11 and change the lot.


Did you check the definition? We provide a fallback if the compiler doesn't
support static_assert. We also test for support of static_assert in a more
fine grain way than merely that C++11 is enabled which should allow the
macro to work on any build using a modern (last 2 years) Clang host
compiler.

-Chandler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140101/831614d7/attachment.html>


More information about the llvm-commits mailing list