Skip to content

FindDeclRefExprVisitor

#include <Visitors.h>

Inherits from clang::RecursiveASTVisitor< FindDeclRefExprVisitor >

Public Functions

Name
FindDeclRefExprVisitor()
bool VisitStmt(clang::Stmt * S)
Visit function for statements.
std::unordered_set< clang::VarDecl * > * getVarSet()

Private Attributes

Name
std::unordered_set< clang::VarDecl * > VarSet

Public Functions Documentation

function FindDeclRefExprVisitor

1
inline FindDeclRefExprVisitor()

function VisitStmt

1
2
3
bool VisitStmt(
    clang::Stmt * S
)

Visit function for statements.

Parameters:

  • S Given statement

Statement Visitor for the FindDeclRefExprVisitor

function getVarSet

1
inline std::unordered_set< clang::VarDecl * > * getVarSet()

Private Attributes Documentation

variable VarSet

1
std::unordered_set< clang::VarDecl * > VarSet;

Last update: 2021-11-24
Back to top