clang-tools 20.0.0git
|
The information needed to describe a valid convertible usage of an array index or iterator. More...
#include <LoopConvertUtils.h>
Public Types | |
enum | UsageKind { UK_Default , UK_MemberThroughArrow , UK_CaptureByCopy , UK_CaptureByRef } |
Public Member Functions | |
Usage (const Expr *E) | |
Usage (const Expr *E, UsageKind Kind, SourceRange Range) | |
Public Attributes | |
const Expr * | Expression |
UsageKind | Kind |
SourceRange | Range |
The information needed to describe a valid convertible usage of an array index or iterator.
Definition at line 208 of file LoopConvertUtils.h.
Enumerator | |
---|---|
UK_Default | |
UK_MemberThroughArrow | |
UK_CaptureByCopy | |
UK_CaptureByRef |
Definition at line 209 of file LoopConvertUtils.h.
|
inlineexplicit |
Definition at line 238 of file LoopConvertUtils.h.
|
inline |
Definition at line 240 of file LoopConvertUtils.h.
const Expr* clang::tidy::modernize::Usage::Expression |
Definition at line 231 of file LoopConvertUtils.h.
UsageKind clang::tidy::modernize::Usage::Kind |
Definition at line 233 of file LoopConvertUtils.h.
SourceRange clang::tidy::modernize::Usage::Range |
Definition at line 236 of file LoopConvertUtils.h.
Referenced by clang::tidy::modernize::ForLoopIndexUseVisitor::addUsage().