class LiveVariables::Observer

Declaration

class LiveVariables::Observer { /* full declaration omitted */ };

Declared at: clang/include/clang/Analysis/Analyses/LiveVariables.h:54

Method Overview

  • private virtual void anchor()
  • public virtual void observeStmt(const clang::Stmt * S, const clang::CFGBlock * currentBlock, const clang::LiveVariables::LivenessValues & V)
  • public virtual void observerKill(const clang::DeclRefExpr * DR)
  • public virtual ~Observer()

Methods

virtual void anchor()

Declared at: clang/include/clang/Analysis/Analyses/LiveVariables.h:55

virtual void observeStmt(
    const clang::Stmt* S,
    const clang::CFGBlock* currentBlock,
    const clang::LiveVariables::LivenessValues& V)

Description

A callback invoked right before invoking the liveness transfer function on the given statement.

Declared at: clang/include/clang/Analysis/Analyses/LiveVariables.h:61

Parameters

const clang::Stmt* S
const clang::CFGBlock* currentBlock
const clang::LiveVariables::LivenessValues& V

virtual void observerKill(
    const clang::DeclRefExpr* DR)

Description

Called when the live variables analysis registers that a variable is killed.

Declared at: clang/include/clang/Analysis/Analyses/LiveVariables.h:67

Parameters

const clang::DeclRefExpr* DR

virtual ~Observer()

Declared at: clang/include/clang/Analysis/Analyses/LiveVariables.h:57