clang-tools  6.0.0svn
Public Member Functions | Friends | List of all members
clang::tidy::modernize::ComponentFinderASTVisitor Class Reference

Class used to find the variables and member expressions on which an arbitrary expression depends. More...

#include <LoopConvertUtils.h>

Inheritance diagram for clang::tidy::modernize::ComponentFinderASTVisitor:
Inheritance graph
[legend]
Collaboration diagram for clang::tidy::modernize::ComponentFinderASTVisitor:
Collaboration graph
[legend]

Public Member Functions

 ComponentFinderASTVisitor ()=default
 
void findExprComponents (const clang::Expr *SourceExpr)
 Find the components of an expression and place them in a ComponentVector. More...
 
const ComponentVectorgetComponents ()
 Accessor for Components. More...
 

Friends

class clang::RecursiveASTVisitor< ComponentFinderASTVisitor >
 

Detailed Description

Class used to find the variables and member expressions on which an arbitrary expression depends.

Definition at line 86 of file LoopConvertUtils.h.

Constructor & Destructor Documentation

◆ ComponentFinderASTVisitor()

clang::tidy::modernize::ComponentFinderASTVisitor::ComponentFinderASTVisitor ( )
default

Member Function Documentation

◆ findExprComponents()

void clang::tidy::modernize::ComponentFinderASTVisitor::findExprComponents ( const clang::Expr *  SourceExpr)
inline

Find the components of an expression and place them in a ComponentVector.

Definition at line 92 of file LoopConvertUtils.h.

◆ getComponents()

const ComponentVector& clang::tidy::modernize::ComponentFinderASTVisitor::getComponents ( )
inline

Accessor for Components.

Definition at line 97 of file LoopConvertUtils.h.

Friends And Related Function Documentation

◆ clang::RecursiveASTVisitor< ComponentFinderASTVisitor >

friend class clang::RecursiveASTVisitor< ComponentFinderASTVisitor >
friend

Definition at line 99 of file LoopConvertUtils.h.


The documentation for this class was generated from the following files: