clang 19.0.0git
Namespaces | Functions
DynamicType.h File Reference
#include "clang/AST/Type.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::ento
 

Functions

DynamicTypeInfo clang::ento::getDynamicTypeInfo (ProgramStateRef State, const MemRegion *MR)
 Get dynamic type information for the region MR.
 
const DynamicTypeInfo * clang::ento::getRawDynamicTypeInfo (ProgramStateRef State, const MemRegion *MR)
 Get raw dynamic type information for the region MR.
 
DynamicTypeInfo clang::ento::getClassObjectDynamicTypeInfo (ProgramStateRef State, SymbolRef Sym)
 Get dynamic type information stored in a class object represented by Sym.
 
const DynamicCastInfo * clang::ento::getDynamicCastInfo (ProgramStateRef State, const MemRegion *MR, QualType CastFromTy, QualType CastToTy)
 Get dynamic cast information from CastFromTy to CastToTy of MR.
 
ProgramStateRef clang::ento::setDynamicTypeInfo (ProgramStateRef State, const MemRegion *MR, DynamicTypeInfo NewTy)
 Set dynamic type information of the region; return the new state.
 
ProgramStateRef clang::ento::setDynamicTypeInfo (ProgramStateRef State, const MemRegion *MR, QualType NewTy, bool CanBeSubClassed=true)
 Set dynamic type information of the region; return the new state.
 
ProgramStateRef clang::ento::setClassObjectDynamicTypeInfo (ProgramStateRef State, SymbolRef Sym, DynamicTypeInfo NewTy)
 Set constraint on a type contained in a class object; return the new state.
 
ProgramStateRef clang::ento::setClassObjectDynamicTypeInfo (ProgramStateRef State, SymbolRef Sym, QualType NewTy, bool CanBeSubClassed=true)
 Set constraint on a type contained in a class object; return the new state.
 
ProgramStateRef clang::ento::setDynamicTypeAndCastInfo (ProgramStateRef State, const MemRegion *MR, QualType CastFromTy, QualType CastToTy, bool IsCastSucceeds)
 Set dynamic type and cast information of the region; return the new state.
 
ProgramStateRef clang::ento::removeDeadTypes (ProgramStateRef State, SymbolReaper &SR)
 Removes the dead type informations from State.
 
ProgramStateRef clang::ento::removeDeadCasts (ProgramStateRef State, SymbolReaper &SR)
 Removes the dead cast informations from State.
 
ProgramStateRef clang::ento::removeDeadClassObjectTypes (ProgramStateRef State, SymbolReaper &SR)
 Removes the dead Class object type informations from State.
 
void clang::ento::printDynamicTypeInfoJson (raw_ostream &Out, ProgramStateRef State, const char *NL="\n", unsigned int Space=0, bool IsDot=false)