class UninitVariablesHandler

Declaration

class UninitVariablesHandler { /* full declaration omitted */ };

Declared at: clang/include/clang/Analysis/Analyses/UninitializedValues.h:104

Method Overview

Methods

UninitVariablesHandler()

Declared at: clang/include/clang/Analysis/Analyses/UninitializedValues.h:106

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

Description

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

Declared at: clang/include/clang/Analysis/Analyses/UninitializedValues.h:114

Parameters

const clang::VarDecl* vd
const clang::UninitUse& use

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

Description

Called when the uninitialized variable analysis detects the idiom 'int x = x'. All other uses of 'x' within the initializer are handled by handleUseOfUninitVariable.

Declared at: clang/include/clang/Analysis/Analyses/UninitializedValues.h:120

Parameters

const clang::VarDecl* vd

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

Description

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

Declared at: clang/include/clang/Analysis/Analyses/UninitializedValues.h:110

Parameters

const clang::VarDecl* vd
const clang::UninitUse& use

virtual ~UninitVariablesHandler()

Declared at: clang/include/clang/Analysis/Analyses/UninitializedValues.h:107