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 Expr *ex, const VarDecl *vd, bool isAlwaysUninit)
 Called when the uninitialized variable is used at the given expression.
virtual void handleSelfInit (const VarDecl *vd)

Detailed Description

Definition at line 26 of file UninitializedValues.h.


Constructor & Destructor Documentation

clang::UninitVariablesHandler::UninitVariablesHandler ( ) [inline]

Definition at line 28 of file UninitializedValues.h.

UninitVariablesHandler::~UninitVariablesHandler ( ) [virtual]

Definition at line 725 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 39 of file UninitializedValues.h.

virtual void clang::UninitVariablesHandler::handleUseOfUninitVariable ( const Expr ex,
const VarDecl vd,
bool  isAlwaysUninit 
) [inline, virtual]

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

Definition at line 32 of file UninitializedValues.h.


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