clang 20.0.0git
Public Member Functions | List of all members
clang::ento::SValExplainer Class Reference

#include "clang/StaticAnalyzer/Checkers/SValExplainer.h"

Inheritance diagram for clang::ento::SValExplainer:
Inheritance graph
[legend]

Public Member Functions

 SValExplainer (ASTContext &Ctx)
 
std::string VisitUnknownVal (UnknownVal V)
 
std::string VisitUndefinedVal (UndefinedVal V)
 
std::string VisitMemRegionVal (loc::MemRegionVal V)
 
std::string VisitConcreteInt (loc::ConcreteInt V)
 
std::string VisitSymbolVal (nonloc::SymbolVal V)
 
std::string VisitConcreteInt (nonloc::ConcreteInt V)
 
std::string VisitLazyCompoundVal (nonloc::LazyCompoundVal V)
 
std::string VisitSymbolRegionValue (const SymbolRegionValue *S)
 
std::string VisitSymbolConjured (const SymbolConjured *S)
 
std::string VisitSymbolDerived (const SymbolDerived *S)
 
std::string VisitSymbolExtent (const SymbolExtent *S)
 
std::string VisitSymbolMetadata (const SymbolMetadata *S)
 
std::string VisitSymIntExpr (const SymIntExpr *S)
 
std::string VisitSymSymExpr (const SymSymExpr *S)
 
std::string VisitUnarySymExpr (const UnarySymExpr *S)
 
std::string VisitSymbolicRegion (const SymbolicRegion *R)
 
std::string VisitAllocaRegion (const AllocaRegion *R)
 
std::string VisitCompoundLiteralRegion (const CompoundLiteralRegion *R)
 
std::string VisitStringRegion (const StringRegion *R)
 
std::string VisitElementRegion (const ElementRegion *R)
 
std::string VisitNonParamVarRegion (const NonParamVarRegion *R)
 
std::string VisitObjCIvarRegion (const ObjCIvarRegion *R)
 
std::string VisitFieldRegion (const FieldRegion *R)
 
std::string VisitCXXTempObjectRegion (const CXXTempObjectRegion *R)
 
std::string VisitCXXBaseObjectRegion (const CXXBaseObjectRegion *R)
 
std::string VisitParamVarRegion (const ParamVarRegion *R)
 
std::string VisitSVal (SVal V)
 
std::string VisitSymExpr (SymbolRef S)
 
std::string VisitMemRegion (const MemRegion *R)
 
- Public Member Functions inherited from clang::ento::SValVisitor< ImplClass, RetTy >
RetTy Visit (SVal V)
 
RetTy VisitSVal (SVal V)
 
- Public Member Functions inherited from clang::ento::SymExprVisitor< ImplClass, RetTy >
RetTy Visit (SymbolRef S)
 
RetTy VisitSymExpr (SymbolRef S)
 
- Public Member Functions inherited from clang::ento::MemRegionVisitor< ImplClass, RetTy >
RetTy Visit (const MemRegion *R)
 
RetTy VisitMemRegion (const MemRegion *R)
 

Detailed Description

Definition at line 27 of file SValExplainer.h.

Constructor & Destructor Documentation

◆ SValExplainer()

clang::ento::SValExplainer::SValExplainer ( ASTContext Ctx)
inline

Definition at line 58 of file SValExplainer.h.

Member Function Documentation

◆ VisitAllocaRegion()

std::string clang::ento::SValExplainer::VisitAllocaRegion ( const AllocaRegion R)
inline

Definition at line 174 of file SValExplainer.h.

References clang::ento::AllocaRegion::getExpr().

◆ VisitCompoundLiteralRegion()

std::string clang::ento::SValExplainer::VisitCompoundLiteralRegion ( const CompoundLiteralRegion R)
inline

◆ VisitConcreteInt() [1/2]

std::string clang::ento::SValExplainer::VisitConcreteInt ( loc::ConcreteInt  V)
inline

Definition at line 79 of file SValExplainer.h.

References clang::ento::OS, and V.

◆ VisitConcreteInt() [2/2]

std::string clang::ento::SValExplainer::VisitConcreteInt ( nonloc::ConcreteInt  V)
inline

Definition at line 91 of file SValExplainer.h.

References clang::ento::OS, and V.

◆ VisitCXXBaseObjectRegion()

std::string clang::ento::SValExplainer::VisitCXXBaseObjectRegion ( const CXXBaseObjectRegion R)
inline

◆ VisitCXXTempObjectRegion()

std::string clang::ento::SValExplainer::VisitCXXTempObjectRegion ( const CXXTempObjectRegion R)
inline

Definition at line 233 of file SValExplainer.h.

References clang::ento::CXXTempObjectRegion::getExpr().

◆ VisitElementRegion()

std::string clang::ento::SValExplainer::VisitElementRegion ( const ElementRegion R)
inline

◆ VisitFieldRegion()

std::string clang::ento::SValExplainer::VisitFieldRegion ( const FieldRegion R)
inline

◆ VisitLazyCompoundVal()

std::string clang::ento::SValExplainer::VisitLazyCompoundVal ( nonloc::LazyCompoundVal  V)
inline

Definition at line 100 of file SValExplainer.h.

References V, and clang::ento::SValVisitor< ImplClass, RetTy >::Visit().

◆ VisitMemRegion()

std::string clang::ento::SValExplainer::VisitMemRegion ( const MemRegion R)
inline

Definition at line 292 of file SValExplainer.h.

References clang::ento::OS.

◆ VisitMemRegionVal()

std::string clang::ento::SValExplainer::VisitMemRegionVal ( loc::MemRegionVal  V)
inline

Definition at line 68 of file SValExplainer.h.

References V, and clang::ento::SValVisitor< ImplClass, RetTy >::Visit().

◆ VisitNonParamVarRegion()

std::string clang::ento::SValExplainer::VisitNonParamVarRegion ( const NonParamVarRegion R)
inline

◆ VisitObjCIvarRegion()

std::string clang::ento::SValExplainer::VisitObjCIvarRegion ( const ObjCIvarRegion R)
inline

◆ VisitParamVarRegion()

std::string clang::ento::SValExplainer::VisitParamVarRegion ( const ParamVarRegion R)
inline

◆ VisitStringRegion()

std::string clang::ento::SValExplainer::VisitStringRegion ( const StringRegion R)
inline

Definition at line 182 of file SValExplainer.h.

References clang::ento::MemRegion::getString().

◆ VisitSVal()

std::string clang::ento::SValExplainer::VisitSVal ( SVal  V)
inline

Definition at line 276 of file SValExplainer.h.

References clang::ento::OS, and V.

◆ VisitSymbolConjured()

std::string clang::ento::SValExplainer::VisitSymbolConjured ( const SymbolConjured S)
inline

Definition at line 113 of file SValExplainer.h.

◆ VisitSymbolDerived()

std::string clang::ento::SValExplainer::VisitSymbolDerived ( const SymbolDerived S)
inline

◆ VisitSymbolExtent()

std::string clang::ento::SValExplainer::VisitSymbolExtent ( const SymbolExtent S)
inline

◆ VisitSymbolicRegion()

std::string clang::ento::SValExplainer::VisitSymbolicRegion ( const SymbolicRegion R)
inline

◆ VisitSymbolMetadata()

std::string clang::ento::SValExplainer::VisitSymbolMetadata ( const SymbolMetadata S)
inline

◆ VisitSymbolRegionValue()

std::string clang::ento::SValExplainer::VisitSymbolRegionValue ( const SymbolRegionValue S)
inline

Definition at line 104 of file SValExplainer.h.

References D, V, and clang::ento::SValVisitor< ImplClass, RetTy >::Visit().

◆ VisitSymbolVal()

std::string clang::ento::SValExplainer::VisitSymbolVal ( nonloc::SymbolVal  V)
inline

Definition at line 87 of file SValExplainer.h.

References V, and clang::ento::SValVisitor< ImplClass, RetTy >::Visit().

◆ VisitSymExpr()

std::string clang::ento::SValExplainer::VisitSymExpr ( SymbolRef  S)
inline

Definition at line 284 of file SValExplainer.h.

References clang::ento::OS.

◆ VisitSymIntExpr()

std::string clang::ento::SValExplainer::VisitSymIntExpr ( const SymIntExpr S)
inline

◆ VisitSymSymExpr()

std::string clang::ento::SValExplainer::VisitSymSymExpr ( const SymSymExpr S)
inline

◆ VisitUnarySymExpr()

std::string clang::ento::SValExplainer::VisitUnarySymExpr ( const UnarySymExpr S)
inline

◆ VisitUndefinedVal()

std::string clang::ento::SValExplainer::VisitUndefinedVal ( UndefinedVal  V)
inline

Definition at line 64 of file SValExplainer.h.

◆ VisitUnknownVal()

std::string clang::ento::SValExplainer::VisitUnknownVal ( UnknownVal  V)
inline

Definition at line 60 of file SValExplainer.h.


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