<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 1, 2014 at 5:35 PM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">& is there a reason we're not using the LLVM_STATIC_ASSERT macro here?<br>
</blockquote>
<br></div>
Requires LLVM_ENABLE_CXX11 which isn't yet enabled on most (any?) of the builders.<br>
<br>
I'd just wait until C++11 and change the lot.</blockquote></div><br>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.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">-Chandler</div></div>