clang API Documentation
#include <ThreadSafetyTIL.h>
Public Member Functions | |
Cast (TIL_CastOpcode Op, SExpr *E) | |
Cast (const Cast &C, SExpr *E) | |
TIL_CastOpcode | castOpcode () 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 Cast *E, C &Cmp) const |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Cast expressions. Cast expressions are essentially unary operations, but we treat them as a distinct AST node because they only change the type of the result.
Definition at line 1259 of file ThreadSafetyTIL.h.
clang::threadSafety::til::Cast::Cast | ( | TIL_CastOpcode | Op, |
SExpr * | E | ||
) | [inline] |
Definition at line 1263 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
clang::threadSafety::til::Cast::Cast | ( | const Cast & | C, |
SExpr * | E | ||
) | [inline] |
Definition at line 1264 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
TIL_CastOpcode clang::threadSafety::til::Cast::castOpcode | ( | ) | const [inline] |
Definition at line 1266 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printCast().
static bool clang::threadSafety::til::Cast::classof | ( | const SExpr * | E | ) | [inline, static] |
Definition at line 1261 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
C::CType clang::threadSafety::til::Cast::compare | ( | const Cast * | E, |
C & | Cmp | ||
) | const [inline] |
Definition at line 1280 of file ThreadSafetyTIL.h.
References castOpcode(), clang::ast_matchers::expr, and expr().
SExpr* clang::threadSafety::til::Cast::expr | ( | ) | [inline] |
Definition at line 1270 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printCast().
const SExpr* clang::threadSafety::til::Cast::expr | ( | ) | const [inline] |
Definition at line 1271 of file ThreadSafetyTIL.h.
V::R_SExpr clang::threadSafety::til::Cast::traverse | ( | V & | Vs, |
typename V::R_Ctx | Ctx | ||
) | [inline] |
Definition at line 1274 of file ThreadSafetyTIL.h.