Didn't see any mention of any static analysis tools for C++. Any HN recommendations?
- cppcheck is sometimes updated also
- clazy : https://github.com/KDE/clazy
It does a more deep analysis into the control flow, whereas clang-tidy does (mostly?) comparatively simpler checks on the AST.
https://clang.llvm.org/docs/CrossCompilation.html
Besides that, most bugs found by static analysis are platform independent so you should be able to use any static analyzer you get your hands on as long as your code is cross-platform.
Plus VC++ debug builds do bounds checking, even for [].