Skip to content

FindArraySectionVisitor

#include <Visitors.h>

Inherits from clang::RecursiveASTVisitor< FindArraySectionVisitor >

Public Functions

Name
FindArraySectionVisitor(std::map< clang::VarDecl *, clang::Expr * > & LowerBoundsMap)
bool VisitExpr(clang::Expr * E)
Visit function for Expressions.

Private Attributes

Name
std::map< clang::VarDecl *, clang::Expr * > & LowerBoundsMap

Public Functions Documentation

function FindArraySectionVisitor

1
2
3
inline FindArraySectionVisitor(
    std::map< clang::VarDecl *, clang::Expr * > & LowerBoundsMap
)

function VisitExpr

1
2
3
bool VisitExpr(
    clang::Expr * E
)

Visit function for Expressions.

Parameters:

  • E Given expression

Expression Visitor in FindArraySectionVisitor

Private Attributes Documentation

variable LowerBoundsMap

1
std::map< clang::VarDecl *, clang::Expr * > & LowerBoundsMap;

Last update: 2021-11-24
Back to top