哪种静态分析工具可以检测VS C4552(操作员无效)问题

时间:2017-04-14 07:30:45

标签: static-analysis cppcheck

在开发过程中引入了bug,分号;在表达之间添加。 这是compiler warning,但cpp check 1.78没有报告任何内容。

        const auto winTotalCredit = m_outcomeStorage.getWinCredits() * m_outcomeStorage.getWinMultiplier();
        + m_outcomeStorage.getBonusCredits();

是否有任何静态分析工具会对此发出警告?

0 个答案:

没有答案