Module ArithmeticOperation
Provides classes for modeling arithmetic operations such as +
, -
, *
and ++
.
Import path
import semmle.code.cpp.exprs.ArithmeticOperation
Imports
Expr |
Provides classes modeling C/C++ expressions. |
Classes
AddExpr |
A C/C++ add expression. |
BinaryArithmeticOperation |
A C/C++ binary arithmetic operation. |
ConjugationExpr |
A C/C++ GNU conjugation expression. It operates on |
CrementOperation |
A C/C++ |
DecrementOperation |
A C/C++ |
DivExpr |
A C/C++ divide expression. |
ImaginaryDivExpr |
A C/C++ divide expression with an imaginary number. This is specific to C99 and later. |
ImaginaryMulExpr |
A C/C++ multiply expression with an imaginary number. This is specific to C99 and later. |
ImaginaryPartExpr |
A C/C++ GNU imaginary part expression. It operates on |
ImaginaryRealAddExpr |
A C/C++ add expression with an imaginary term and a real term. This is specific to C99 and later. |
ImaginaryRealSubExpr |
A C/C++ subtract expression with an imaginary term and a real term. This is specific to C99 and later. |
IncrementOperation |
A C/C++ |
MaxExpr |
A C/C++ GNU max expression. |
MinExpr |
A C/C++ GNU min expression. |
MulExpr |
A C/C++ multiply expression. |
PointerAddExpr |
A C/C++ pointer add expression. |
PointerArithmeticOperation |
A C/C++ pointer arithmetic operation. |
PointerDiffExpr |
A C/C++ pointer difference expression. |
PointerSubExpr |
A C/C++ pointer subtract expression. |
PostfixCrementOperation |
A C/C++ |
PostfixDecrExpr |
A C/C++ postfix decrement expression, as in |
PostfixIncrExpr |
A C/C++ postfix increment expression, as in |
PrefixCrementOperation |
A C/C++ |
PrefixDecrExpr |
A C/C++ prefix decrement expression, as in |
PrefixIncrExpr |
A C/C++ prefix increment expression, as in |
RealImaginaryAddExpr |
A C/C++ add expression with a real term and an imaginary term. This is specific to C99 and later. |
RealImaginarySubExpr |
A C/C++ subtract expression with a real term and an imaginary term. This is specific to C99 and later. |
RealPartExpr |
A C/C++ GNU real part expression. It operates on |
RemExpr |
A C/C++ remainder expression. |
SubExpr |
A C/C++ subtract expression. |
UnaryArithmeticOperation |
A C/C++ unary arithmetic operation. |
UnaryMinusExpr |
A C/C++ unary minus expression. |
UnaryPlusExpr |
A C/C++ unary plus expression. |