clang: clang::VariableGroupsManager Class Reference (original) (raw)
#include "[clang/Analysis/Analyses/UnsafeBufferUsage.h](UnsafeBufferUsage%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
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 28 of file UnsafeBufferUsage.h.
clang::VariableGroupsManager::VariableGroupsManager ( ) | default |
---|
◆ ~VariableGroupsManager()
virtual clang::VariableGroupsManager::~VariableGroupsManager ( ) | virtualdefault |
---|
◆ getGroupOfParms()
virtual VarGrpRef clang::VariableGroupsManager::getGroupOfParms ( ) const | pure virtual |
---|
◆ getGroupOfVar()
virtual VarGrpRef clang::VariableGroupsManager::getGroupOfVar ( const VarDecl * Var, bool * HasParm = nullptr ) const | pure virtual |
---|
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.
Implemented in VariableGroupsManagerImpl.
Referenced by eraseVarsForUnfixableGroupMates(), and getFixIts().
The documentation for this class was generated from the following file:
- include/clang/Analysis/Analyses/UnsafeBufferUsage.h