Query module AV Rule 165

name
Negation of unsigned value
description
The unary minus operator should not be applied to unsigned expressions - cast the expression to a signed type to avoid unexpected behavior.
kind
problem
id
cpp/jsf/av-rule-165
problem.severity
warning
precision
low
tags
correctness reliability external/jsf

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.