C++ analysis rules

A post was split to a new topic: Does Cfamily analyzer have these rules