clang 23.0.0git
clang::ssaf::EntityPointerLevelTranslator Class Reference
Inheritance diagram for clang::ssaf::EntityPointerLevelTranslator:
[legend]

Public Member Functions

 EntityPointerLevelTranslator (std::function< EntityId(EntityName EN)> AddEntity, ASTContext &Ctx)
Expected< EntityPointerLevelSet > translate (const Expr *E)
Expected< EntityPointerLevel > translate (const NamedDecl *D, bool IsRet)

Static Public Member Functions

static EntityPointerLevel incrementPointerLevel (const EntityPointerLevel &E)
static EntityPointerLevel decrementPointerLevel (const EntityPointerLevel &E)

Friends

class StmtVisitorBase

Detailed Description

Definition at line 42 of file EntityPointerLevel.cpp.

Constructor & Destructor Documentation

◆ EntityPointerLevelTranslator()

clang::ssaf::EntityPointerLevelTranslator::EntityPointerLevelTranslator ( std::function< EntityId(EntityName EN)> AddEntity,
ASTContext & Ctx )
inline

Definition at line 75 of file EntityPointerLevel.cpp.

References std::function.

Member Function Documentation

◆ decrementPointerLevel()

EntityPointerLevel clang::ssaf::EntityPointerLevelTranslator::decrementPointerLevel ( const EntityPointerLevel & E)
inlinestatic

Definition at line 99 of file EntityPointerLevel.cpp.

◆ incrementPointerLevel()

EntityPointerLevel clang::ssaf::EntityPointerLevelTranslator::incrementPointerLevel ( const EntityPointerLevel & E)
inlinestatic

Definition at line 95 of file EntityPointerLevel.cpp.

Referenced by clang::ssaf::incrementPointerLevel().

◆ translate() [1/2]

Expected< EntityPointerLevelSet > clang::ssaf::EntityPointerLevelTranslator::translate ( const Expr * E)
inline

◆ translate() [2/2]

Expected< EntityPointerLevel > clang::ssaf::EntityPointerLevelTranslator::translate ( const NamedDecl * D,
bool IsRet )
inline

◆ StmtVisitorBase

friend class StmtVisitorBase
friend

Definition at line 45 of file EntityPointerLevel.cpp.

References StmtVisitorBase.

Referenced by StmtVisitorBase.


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