clang: VariableGroupsManagerImpl Class Reference (original) (raw)

Public Member Functions
VariableGroupsManagerImpl (const std::vector< VarGrpTy > &Groups, const std::map< const VarDecl *, unsigned > &VarGrpMap, const llvm::SetVector< const VarDecl * > &GrpsUnionForParms)
VarGrpRef getGroupOfVar (const VarDecl *Var, bool *HasParm) const override
Returns the set of variables (including Var) that need to be fixed together in one step.
VarGrpRef getGroupOfParms () const override
Returns the non-empty group of variables that include parameters of the analyzing function, if such a group exists.
- Public Member Functions inherited from clang::VariableGroupsManager
VariableGroupsManager ()=default
virtual ~VariableGroupsManager ()=default
virtual VarGrpRef getGroupOfVar (const VarDecl *Var, bool *HasParm=nullptr) const =0
Returns the set of variables (including Var) that need to be fixed together in one step.
virtual VarGrpRef getGroupOfParms () const =0
Returns the non-empty group of variables that include parameters of the analyzing function, if such a group exists.

Definition at line 3600 of file UnsafeBufferUsage.cpp.

VariableGroupsManagerImpl::VariableGroupsManagerImpl ( const std::vector< VarGrpTy > & Groups, const std::map< const VarDecl *, unsigned > & VarGrpMap, const llvm::SetVector< const VarDecl * > & GrpsUnionForParms ) inline

getGroupOfParms()

VarGrpRef VariableGroupsManagerImpl::getGroupOfParms ( ) const inlineoverridevirtual

getGroupOfVar()

VarGrpRef VariableGroupsManagerImpl::getGroupOfVar ( const VarDecl * Var, bool * HasParm ) const inlineoverridevirtual

Returns the set of variables (including Var) that need to be fixed together in one step.

Var must be a variable that needs fix (so it must be in a group). HasParm is an optional argument that will be set to true if the set of variables, where Var is in, contains parameters.

Implements clang::VariableGroupsManager.

Definition at line 3613 of file UnsafeBufferUsage.cpp.


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