clang API Documentation

Public Member Functions | Static Public Member Functions
clang::threadSafety::til::Cast Class Reference

#include <ThreadSafetyTIL.h>

Inheritance diagram for clang::threadSafety::til::Cast:
Inheritance graph
[legend]
Collaboration diagram for clang::threadSafety::til::Cast:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cast (TIL_CastOpcode Op, SExpr *E)
 Cast (const Cast &C, SExpr *E)
TIL_CastOpcode castOpcode () const
SExprexpr ()
const SExprexpr () 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)

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

template<class C >
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().

const SExpr* clang::threadSafety::til::Cast::expr ( ) const [inline]

Definition at line 1271 of file ThreadSafetyTIL.h.

template<class V >
V::R_SExpr clang::threadSafety::til::Cast::traverse ( V &  Vs,
typename V::R_Ctx  Ctx 
) [inline]

Definition at line 1274 of file ThreadSafetyTIL.h.


The documentation for this class was generated from the following file: