clang API Documentation

Public Member Functions
clang::UninitVariablesHandler Class Reference

#include <UninitializedValues.h>

List of all members.

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)

Detailed Description

Definition at line 100 of file UninitializedValues.h.


Constructor & Destructor Documentation

Definition at line 102 of file UninitializedValues.h.

Definition at line 891 of file UninitializedValues.cpp.


Member Function Documentation

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.


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