clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::ento::SymbolCast Class Reference

Represents a cast expression. More...

#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"

Inheritance diagram for clang::ento::SymbolCast:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::SymbolCast:
Collaboration graph
[legend]

Public Member Functions

 SymbolCast (const SymExpr *In, QualType From, QualType To)
 
QualType getType () const override
 
const SymExprgetOperand () const
 
void dumpToStream (raw_ostream &os) const override
 
void Profile (llvm::FoldingSetNodeID &ID) override
 
- Public Member Functions inherited from clang::ento::SymExpr
virtual ~SymExpr ()
 
Kind getKind () const
 
virtual void dump () const
 
symbol_iterator symbol_begin () const
 
unsigned computeComplexity () const
 
virtual const MemRegiongetOriginRegion () const
 Find the region from which this symbol originates. More...
 

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, const SymExpr *In, QualType From, QualType To)
 
static bool classof (const SymExpr *SE)
 
- Static Public Member Functions inherited from clang::ento::SymExpr
static symbol_iterator symbol_end ()
 

Additional Inherited Members

- Public Types inherited from clang::ento::SymExpr
enum  Kind
 
- Protected Member Functions inherited from clang::ento::SymExpr
 SymExpr (Kind k)
 
- Static Protected Member Functions inherited from clang::ento::SymExpr
static bool isValidTypeForSymbol (QualType T)
 

Detailed Description

Represents a cast expression.

Definition at line 254 of file SymbolManager.h.

Constructor & Destructor Documentation

◆ SymbolCast()

clang::ento::SymbolCast::SymbolCast ( const SymExpr In,
QualType  From,
QualType  To 
)
inline

Definition at line 262 of file SymbolManager.h.

References clang::ento::SymExpr::isValidTypeForSymbol().

Member Function Documentation

◆ classof()

static bool clang::ento::SymbolCast::classof ( const SymExpr SE)
inlinestatic

Definition at line 289 of file SymbolManager.h.

References clang::ento::SymExpr::getKind().

◆ dumpToStream()

void SymbolCast::dumpToStream ( raw_ostream &  os) const
overridevirtual

Reimplemented from clang::ento::SymExpr.

Definition at line 67 of file SymbolManager.cpp.

◆ getOperand()

const SymExpr* clang::ento::SymbolCast::getOperand ( ) const
inline

Definition at line 272 of file SymbolManager.h.

References clang::ento::SymbolRegionValue::dumpToStream().

◆ getType()

QualType clang::ento::SymbolCast::getType ( ) const
inlineoverridevirtual

Implements clang::ento::SymExpr.

Definition at line 270 of file SymbolManager.h.

◆ Profile() [1/2]

static void clang::ento::SymbolCast::Profile ( llvm::FoldingSetNodeID &  ID,
const SymExpr In,
QualType  From,
QualType  To 
)
inlinestatic

Definition at line 276 of file SymbolManager.h.

◆ Profile() [2/2]

void clang::ento::SymbolCast::Profile ( llvm::FoldingSetNodeID &  ID)
inlineoverridevirtual

Implements clang::ento::SymExpr.

Definition at line 284 of file SymbolManager.h.

References clang::ento::SymbolRegionValue::Profile().


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