[PATCH] [llvm] Replacing asserts with static_asserts where appropriate

Paweł Bylica chfast at gmail.com
Mon Mar 16 04:55:36 PDT 2015


In http://reviews.llvm.org/D8343#141230, @alexfh wrote:

> Given that each change is independent, I'd start from reverting the one
>  where the error appears. It seems that MSVC doesn't understand constexpr on
>  llvm::array_lengthof.


constexpr is one of the biggest missing feature of MSVC. The partial support is expected in Visual Studio 2015.


http://reviews.llvm.org/D8343

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list