clang API Documentation

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

#include <ThreadSafetyTIL.h>

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

List of all members.

Public Member Functions

 BinaryOp (TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1)
 BinaryOp (const BinaryOp &B, SExpr *E0, SExpr *E1)
TIL_BinaryOpcode binaryOpcode () const
SExprexpr0 ()
const SExprexpr0 () const
SExprexpr1 ()
const SExprexpr1 () 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)

Detailed Description

Simple arithmetic binary operations, e.g. +, -, etc. These operations have no side effects.

Definition at line 1208 of file ThreadSafetyTIL.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

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

Definition at line 1226 of file ThreadSafetyTIL.h.

Definition at line 1229 of file ThreadSafetyTIL.h.

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

Definition at line 1232 of file ThreadSafetyTIL.h.


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