clang API Documentation
#include <ThreadSafetyTIL.h>
Public Member Functions | |
UnaryOp (TIL_UnaryOpcode Op, SExpr *E) | |
UnaryOp (const UnaryOp &U, SExpr *E) | |
TIL_UnaryOpcode | unaryOpcode () const |
SExpr * | expr () |
const SExpr * | expr () const |
template<class V > | |
V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
template<class C > | |
C::CType | compare (const UnaryOp *E, C &Cmp) const |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Simple arithmetic unary operations, e.g. negate and not. These operations have no side-effects.
Definition at line 1170 of file ThreadSafetyTIL.h.
clang::threadSafety::til::UnaryOp::UnaryOp | ( | TIL_UnaryOpcode | Op, |
SExpr * | E | ||
) | [inline] |
Definition at line 1174 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
clang::threadSafety::til::UnaryOp::UnaryOp | ( | const UnaryOp & | U, |
SExpr * | E | ||
) | [inline] |
Definition at line 1177 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
static bool clang::threadSafety::til::UnaryOp::classof | ( | const SExpr * | E | ) | [inline, static] |
Definition at line 1172 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
C::CType clang::threadSafety::til::UnaryOp::compare | ( | const UnaryOp * | E, |
C & | Cmp | ||
) | const [inline] |
Definition at line 1193 of file ThreadSafetyTIL.h.
References clang::ast_matchers::expr, expr(), and unaryOpcode().
SExpr* clang::threadSafety::til::UnaryOp::expr | ( | ) | [inline] |
Definition at line 1183 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printUnaryOp().
const SExpr* clang::threadSafety::til::UnaryOp::expr | ( | ) | const [inline] |
Definition at line 1184 of file ThreadSafetyTIL.h.
V::R_SExpr clang::threadSafety::til::UnaryOp::traverse | ( | V & | Vs, |
typename V::R_Ctx | Ctx | ||
) | [inline] |
Definition at line 1187 of file ThreadSafetyTIL.h.
TIL_UnaryOpcode clang::threadSafety::til::UnaryOp::unaryOpcode | ( | ) | const [inline] |
Definition at line 1179 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printUnaryOp().