clang API Documentation
#include <ThreadSafetyTIL.h>
Public Member Functions | |
BinaryOp (TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1) | |
BinaryOp (const BinaryOp &B, SExpr *E0, SExpr *E1) | |
TIL_BinaryOpcode | binaryOpcode () const |
SExpr * | expr0 () |
const SExpr * | expr0 () const |
SExpr * | expr1 () |
const SExpr * | expr1 () const |
template<class V > | |
V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
template<class C > | |
C::CType | compare (const BinaryOp *E, C &Cmp) const |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Simple arithmetic binary operations, e.g. +, -, etc. These operations have no side effects.
Definition at line 1208 of file ThreadSafetyTIL.h.
clang::threadSafety::til::BinaryOp::BinaryOp | ( | TIL_BinaryOpcode | Op, |
SExpr * | E0, | ||
SExpr * | E1 | ||
) | [inline] |
Definition at line 1212 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
clang::threadSafety::til::BinaryOp::BinaryOp | ( | const BinaryOp & | B, |
SExpr * | E0, | ||
SExpr * | E1 | ||
) | [inline] |
Definition at line 1216 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
TIL_BinaryOpcode clang::threadSafety::til::BinaryOp::binaryOpcode | ( | ) | const [inline] |
Definition at line 1221 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printBinaryOp().
static bool clang::threadSafety::til::BinaryOp::classof | ( | const SExpr * | E | ) | [inline, static] |
Definition at line 1210 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
C::CType clang::threadSafety::til::BinaryOp::compare | ( | const BinaryOp * | E, |
C & | Cmp | ||
) | const [inline] |
Definition at line 1239 of file ThreadSafetyTIL.h.
References binaryOpcode(), expr0(), and expr1().
SExpr* clang::threadSafety::til::BinaryOp::expr0 | ( | ) | [inline] |
Definition at line 1225 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printBinaryOp().
const SExpr* clang::threadSafety::til::BinaryOp::expr0 | ( | ) | const [inline] |
Definition at line 1226 of file ThreadSafetyTIL.h.
SExpr* clang::threadSafety::til::BinaryOp::expr1 | ( | ) | [inline] |
Definition at line 1228 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printBinaryOp().
const SExpr* clang::threadSafety::til::BinaryOp::expr1 | ( | ) | const [inline] |
Definition at line 1229 of file ThreadSafetyTIL.h.
V::R_SExpr clang::threadSafety::til::BinaryOp::traverse | ( | V & | Vs, |
typename V::R_Ctx | Ctx | ||
) | [inline] |
Definition at line 1232 of file ThreadSafetyTIL.h.