clang API Documentation

Public Member Functions
clang::ento::ObjCMessage Class Reference

Represents both explicit ObjC message expressions and implicit messages that are sent for handling properties in dot syntax. More...

#include <ObjCMessage.h>

List of all members.

Public Member Functions

 ObjCMessage ()
 ObjCMessage (const ObjCMessageExpr *E, const ObjCPropertyRefExpr *pe=0, bool isSetter=false)
bool isValid () const
bool isPureMessageExpr () const
bool isPropertyGetter () const
bool isPropertySetter () const
const ExprgetMessageExpr () const
QualType getType (ASTContext &ctx) const
QualType getResultType (ASTContext &ctx) const
ObjCMethodFamily getMethodFamily () const
Selector getSelector () const
const ExprgetInstanceReceiver () const
SVal getInstanceReceiverSVal (ProgramStateRef State, const LocationContext *LC) const
bool isInstanceMessage () const
const ObjCMethodDeclgetMethodDecl () const
const ObjCInterfaceDeclgetReceiverInterface () const
SourceLocation getSuperLoc () const
SourceRange getSourceRange () const LLVM_READONLY
unsigned getNumArgs () const
SVal getArgSVal (unsigned i, const LocationContext *LCtx, ProgramStateRef state) const
QualType getArgType (unsigned i) const
const ExprgetArgExpr (unsigned i) const
SourceRange getArgSourceRange (unsigned i) const
SourceRange getReceiverSourceRange () const

Detailed Description

Represents both explicit ObjC message expressions and implicit messages that are sent for handling properties in dot syntax.

Definition at line 33 of file ObjCMessage.h.


Constructor & Destructor Documentation

clang::ento::ObjCMessage::ObjCMessage ( ) [inline]

Definition at line 38 of file ObjCMessage.h.

clang::ento::ObjCMessage::ObjCMessage ( const ObjCMessageExpr E,
const ObjCPropertyRefExpr pe = 0,
bool  isSetter = false 
) [inline]

Definition at line 40 of file ObjCMessage.h.


Member Function Documentation

const Expr* clang::ento::ObjCMessage::getArgExpr ( unsigned  i) const [inline]
SourceRange clang::ento::ObjCMessage::getArgSourceRange ( unsigned  i) const [inline]
SVal clang::ento::ObjCMessage::getArgSVal ( unsigned  i,
const LocationContext LCtx,
ProgramStateRef  state 
) const [inline]
QualType clang::ento::ObjCMessage::getArgType ( unsigned  i) const [inline]
const Expr* clang::ento::ObjCMessage::getInstanceReceiver ( ) const [inline]
SVal clang::ento::ObjCMessage::getInstanceReceiverSVal ( ProgramStateRef  State,
const LocationContext LC 
) const [inline]
const Expr* clang::ento::ObjCMessage::getMessageExpr ( ) const [inline]
const ObjCMethodDecl* clang::ento::ObjCMessage::getMethodDecl ( ) const [inline]
ObjCMethodFamily clang::ento::ObjCMessage::getMethodFamily ( ) const [inline]
unsigned clang::ento::ObjCMessage::getNumArgs ( ) const [inline]
const ObjCInterfaceDecl* clang::ento::ObjCMessage::getReceiverInterface ( ) const [inline]
SourceRange clang::ento::ObjCMessage::getReceiverSourceRange ( ) const [inline]
QualType clang::ento::ObjCMessage::getResultType ( ASTContext ctx) const [inline]
Selector clang::ento::ObjCMessage::getSelector ( ) const [inline]
SourceRange clang::ento::ObjCMessage::getSourceRange ( ) const [inline]
SourceLocation clang::ento::ObjCMessage::getSuperLoc ( ) const [inline]
QualType clang::ento::ObjCMessage::getType ( ASTContext ctx) const [inline]

Definition at line 60 of file ObjCMessage.h.

References clang::Expr::getType().

Referenced by getResultType().

bool clang::ento::ObjCMessage::isInstanceMessage ( ) const [inline]

Definition at line 96 of file ObjCMessage.h.

References clang::ObjCMessageExpr::isInstanceMessage().

Referenced by getInstanceReceiverSVal().

bool clang::ento::ObjCMessage::isPropertyGetter ( ) const [inline]

Definition at line 50 of file ObjCMessage.h.

bool clang::ento::ObjCMessage::isPropertySetter ( ) const [inline]

Definition at line 52 of file ObjCMessage.h.

bool clang::ento::ObjCMessage::isPureMessageExpr ( ) const [inline]

Definition at line 48 of file ObjCMessage.h.

bool clang::ento::ObjCMessage::isValid ( ) const [inline]

Definition at line 46 of file ObjCMessage.h.


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