|
clang 23.0.0git
|
Class that represents a component of a mappable expression. E.g. for an expression S.a, the first component is a declaration reference expression associated with 'S' and the second is a member expression associated with the field declaration 'a'. If the expression is an array subscript it may not have any associated declaration. In that case the associated declaration is set to nullptr. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| MappableComponent ()=default | |
| MappableComponent (Expr *AssociatedExpression, ValueDecl *AssociatedDeclaration, bool IsNonContiguous) | |
| Expr * | getAssociatedExpression () const |
| bool | isNonContiguous () const |
| ValueDecl * | getAssociatedDeclaration () const |
| bool | operator== (const MappableComponent &Other) const |
Class that represents a component of a mappable expression. E.g. for an expression S.a, the first component is a declaration reference expression associated with 'S' and the second is a member expression associated with the field declaration 'a'. If the expression is an array subscript it may not have any associated declaration. In that case the associated declaration is set to nullptr.
Definition at line 5989 of file OpenMPClause.h.
|
explicitdefault |
Referenced by operator==().
|
inlineexplicit |
Definition at line 6001 of file OpenMPClause.h.
References getCanonicalDecl().
|
inline |
Definition at line 6019 of file OpenMPClause.h.
Referenced by OMPClauseMappableExprCommon::hash_value.
|
inline |
Definition at line 6011 of file OpenMPClause.h.
Referenced by OMPClauseMappableExprCommon::hash_value.
|
inline |
Definition at line 6015 of file OpenMPClause.h.
Referenced by OMPClauseMappableExprCommon::hash_value.
|
inline |
Definition at line 6023 of file OpenMPClause.h.
References MappableComponent().