clang 20.0.0git
|
Stores the currently inferred strictest bound on the runtime type of a region in a given state along the analysis path. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h"
Public Member Functions | |
DynamicTypeInfo () | |
DynamicTypeInfo (QualType Ty, bool CanBeSub=true) | |
bool | canBeASubClass () const |
Returns false if the type information is precise (the type 'DynTy' is the only type in the lattice), true otherwise. | |
bool | isValid () const |
Returns true if the dynamic type info is available. | |
QualType | getType () const |
Returns the currently inferred upper bound on the runtime type. | |
operator bool () const | |
bool | operator== (const DynamicTypeInfo &RHS) const |
void | Profile (llvm::FoldingSetNodeID &ID) const |
Stores the currently inferred strictest bound on the runtime type of a region in a given state along the analysis path.
Definition at line 19 of file DynamicTypeInfo.h.
|
inline |
Definition at line 21 of file DynamicTypeInfo.h.
Definition at line 23 of file DynamicTypeInfo.h.
|
inline |
Returns false if the type information is precise (the type 'DynTy' is the only type in the lattice), true otherwise.
Definition at line 28 of file DynamicTypeInfo.h.
Referenced by clang::ento::CXXInstanceCall::getRuntimeDefinition(), and clang::ento::ObjCMethodCall::getRuntimeDefinition().
|
inline |
Returns the currently inferred upper bound on the runtime type.
Definition at line 34 of file DynamicTypeInfo.h.
Referenced by clang::ento::CXXInstanceCall::getRuntimeDefinition(), and clang::ento::ObjCMethodCall::getRuntimeDefinition().
|
inline |
Returns true if the dynamic type info is available.
Definition at line 31 of file DynamicTypeInfo.h.
References clang::QualType::isNull().
Referenced by clang::ento::CXXInstanceCall::getRuntimeDefinition(), clang::ento::ObjCMethodCall::getRuntimeDefinition(), and operator bool().
|
inline |
Definition at line 36 of file DynamicTypeInfo.h.
References isValid().
|
inline |
Definition at line 38 of file DynamicTypeInfo.h.
|
inline |
Definition at line 42 of file DynamicTypeInfo.h.
References ID.