メインコンテンツ

AUTOSAR C++14 Rule M5-3-2

The unary minus operator shall not be applied to an expression whose underlying type is unsigned

説明

ルール定義

The unary minus operator shall not be applied to an expression whose underlying type is unsigned.

トラブルシューティング

ルール違反が想定されるものの、Polyspace® から報告されない場合は、コーディング規約違反が想定どおりに表示されない理由の診断を参照してください。

チェック情報

グループ:
カテゴリ: Required、Automated

バージョン履歴

R2019a で導入