This patch consists of the suggestions of clang-tidy/misc-static-assert check.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This patch was committed in: r232366.
It looks like this patch fails to compile on windows using msvc: http://lab.llvm.org:8011/builders/lldb-x86-windows-msvc/builds/3291
Unfortunately I do not have access to a msvc compiler. Should I revert the whole patch in this case?
Comment Actions
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.
Comment Actions
constexpr is one of the biggest missing feature of MSVC. The partial support is expected in Visual Studio 2015.