FindPrivateVariablesVisitor
#include <Visitors.h>
Inherits from clang::RecursiveASTVisitor< FindPrivateVariablesVisitor >
Public Functions
Private Attributes
Public Functions Documentation
function FindPrivateVariablesVisitor
| inline FindPrivateVariablesVisitor(
clang::SourceLocation TopSourceLocation,
clang::SourceManager & SM
)
|
function VisitExpr
| bool VisitExpr(
clang::Expr * E
)
|
Visit function for Expressions.
Parameters:
Expression Visitor in FindPrivateVariablesVisitor
function getVarSet
| inline std::set< clang::VarDecl * > & getVarSet()
|
Private Attributes Documentation
variable SM
| clang::SourceManager & SM;
|
variable RegionTopSourceLocation
| clang::SourceLocation RegionTopSourceLocation;
|
variable VarSet
| std::set< clang::VarDecl * > VarSet;
|
Last update: 2021-11-24