clang-tools 19.0.0git
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]

Public Member Functions

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

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 88 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 94 of file LoopConvertUtils.h.

Referenced by clang::tidy::modernize::LoopConvertCheck::check().

◆ getComponents()

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

Accessor for Components.

Definition at line 99 of file LoopConvertUtils.h.

Referenced by clang::tidy::modernize::LoopConvertCheck::check().

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: