clang API Documentation
#include <UninitializedValues.h>
Public Member Functions | |
UninitVariablesHandler () | |
virtual | ~UninitVariablesHandler () |
virtual void | handleUseOfUninitVariable (const VarDecl *vd, const UninitUse &use) |
Called when the uninitialized variable is used at the given expression. | |
virtual void | handleSelfInit (const VarDecl *vd) |
Definition at line 100 of file UninitializedValues.h.
Definition at line 102 of file UninitializedValues.h.
UninitVariablesHandler::~UninitVariablesHandler | ( | ) | [virtual] |
Definition at line 891 of file UninitializedValues.cpp.
virtual void clang::UninitVariablesHandler::handleSelfInit | ( | const VarDecl * | vd | ) | [inline, virtual] |
Called when the uninitialized variable analysis detects the idiom 'int x = x'. All other uses of 'x' within the initializer are handled by handleUseOfUninitVariable.
Definition at line 112 of file UninitializedValues.h.
virtual void clang::UninitVariablesHandler::handleUseOfUninitVariable | ( | const VarDecl * | vd, |
const UninitUse & | use | ||
) | [inline, virtual] |
Called when the uninitialized variable is used at the given expression.
Definition at line 106 of file UninitializedValues.h.