clang: clang::UninitVariablesHandler Class Reference (original) (raw)

#include "[clang/Analysis/Analyses/UninitializedValues.h](UninitializedValues%5F8h%5Fsource.html)"

Public Member Functions
UninitVariablesHandler ()=default
virtual ~UninitVariablesHandler ()
virtual void handleUseOfUninitVariable (const VarDecl *vd, const UninitUse &use)
Called when the uninitialized variable is used at the given expression.
virtual void handleConstRefUseOfUninitVariable (const VarDecl *vd, const UninitUse &use)
Called when the uninitialized variable is used as const refernce argument.
virtual void handleSelfInit (const VarDecl *vd)
Called when the uninitialized variable analysis detects the idiom 'int x = x'.

Definition at line 104 of file UninitializedValues.h.

clang::UninitVariablesHandler::UninitVariablesHandler ( ) default

~UninitVariablesHandler()

UninitVariablesHandler::~UninitVariablesHandler ( ) virtualdefault

handleConstRefUseOfUninitVariable()

virtual void clang::UninitVariablesHandler::handleConstRefUseOfUninitVariable ( const VarDecl * vd, const UninitUse & use ) inlinevirtual

Called when the uninitialized variable is used as const refernce argument.

Definition at line 114 of file UninitializedValues.h.

handleSelfInit()

virtual void clang::UninitVariablesHandler::handleSelfInit ( const VarDecl * vd) inlinevirtual

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 120 of file UninitializedValues.h.

handleUseOfUninitVariable()

virtual void clang::UninitVariablesHandler::handleUseOfUninitVariable ( const VarDecl * vd, const UninitUse & use ) inlinevirtual

Called when the uninitialized variable is used at the given expression.

Definition at line 110 of file UninitializedValues.h.


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