clang API Documentation

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

#include <ThreadSafetyTIL.h>

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

List of all members.

Public Member Functions

 UnaryOp (TIL_UnaryOpcode Op, SExpr *E)
 UnaryOp (const UnaryOp &U, SExpr *E)
TIL_UnaryOpcode unaryOpcode () 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 UnaryOp *E, C &Cmp) const

Static Public Member Functions

static bool classof (const SExpr *E)

Detailed Description

Simple arithmetic unary operations, e.g. negate and not. These operations have no side-effects.

Definition at line 1170 of file ThreadSafetyTIL.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

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

Definition at line 1184 of file ThreadSafetyTIL.h.

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

Definition at line 1187 of file ThreadSafetyTIL.h.


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