class OMPDefaultmapClause
Declaration
class OMPDefaultmapClause : public OMPClause { /* full declaration omitted */ };
Description
This represents 'defaultmap' clause in the '#pragma omp ...' directive. In this example directive '#pragma omp target' has 'defaultmap' clause of kind 'scalar' with modifier 'tofrom'.
Declared at: clang/include/clang/AST/OpenMPClause.h:6552
Inherits from: OMPClause
Member Variables
- private clang::SourceLocation LParenLoc
- Location of '('.
- private clang::OpenMPDefaultmapClauseModifier Modifier = OMPC_DEFAULTMAP_MODIFIER_unknown
- Modifiers for 'defaultmap' clause.
- private clang::SourceLocation ModifierLoc
- Locations of modifiers.
- private clang::OpenMPDefaultmapClauseKind Kind = OMPC_DEFAULTMAP_unknown
- A kind of the 'defaultmap' clause.
- private clang::SourceLocation KindLoc
- Start location of the defaultmap kind in source code.
Method Overview
- public OMPDefaultmapClause(clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation MLoc, clang::SourceLocation KLoc, clang::SourceLocation EndLoc, clang::OpenMPDefaultmapClauseKind Kind, clang::OpenMPDefaultmapClauseModifier M)
- public OMPDefaultmapClause()
- public clang::OMPClause::const_child_range children() const
- public clang::OMPClause::child_range children()
- public static bool classof(const clang::OMPClause * T)
- public clang::OpenMPDefaultmapClauseKind getDefaultmapKind() const
- public clang::SourceLocation getDefaultmapKindLoc()
- public clang::OpenMPDefaultmapClauseModifier getDefaultmapModifier() const
- public clang::SourceLocation getDefaultmapModifierLoc() const
- public clang::SourceLocation getLParenLoc()
- private void setDefaultmapKind(clang::OpenMPDefaultmapClauseKind K)
- private void setDefaultmapKindLoc(clang::SourceLocation KLoc)
- private void setDefaultmapModifier(clang::OpenMPDefaultmapClauseModifier M)
- private void setDefaultmapModifierLoc(clang::SourceLocation Loc)
- private void setLParenLoc(clang::SourceLocation Loc)
- public clang::OMPClause::child_range used_children()
- public clang::OMPClause::const_child_range used_children() const
Inherited from OMPClause:
- public children
- public children
- public classof
- public getBeginLoc
- public getClauseKind
- public getEndLoc
- public isImplicit
- public setLocEnd
- public setLocStart
- public used_children
- public used_children
Methods
¶OMPDefaultmapClause(
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation MLoc,
clang::SourceLocation KLoc,
clang::SourceLocation EndLoc,
clang::OpenMPDefaultmapClauseKind Kind,
clang::OpenMPDefaultmapClauseModifier M)
OMPDefaultmapClause(
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation MLoc,
clang::SourceLocation KLoc,
clang::SourceLocation EndLoc,
clang::OpenMPDefaultmapClauseKind Kind,
clang::OpenMPDefaultmapClauseModifier M)
Description
Build 'defaultmap' clause with defaultmap kind \a Kind
Declared at: clang/include/clang/AST/OpenMPClause.h:6607
Parameters
- clang::SourceLocation StartLoc
- Starting location of the clause.
- clang::SourceLocation LParenLoc
- Location of '('.
- clang::SourceLocation MLoc
- Location of the modifier
- clang::SourceLocation KLoc
- Starting location of the argument.
- clang::SourceLocation EndLoc
- Ending location of the clause.
- clang::OpenMPDefaultmapClauseKind Kind
- Defaultmap kind.
- clang::OpenMPDefaultmapClauseModifier M
- The modifier applied to 'defaultmap' clause.
¶OMPDefaultmapClause()
OMPDefaultmapClause()
Description
Build an empty clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:6616
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:6643
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:6639
¶static bool classof(const clang::OMPClause* T)
static bool classof(const clang::OMPClause* T)
Declared at: clang/include/clang/AST/OpenMPClause.h:6654
Parameters
- const clang::OMPClause* T
¶clang::OpenMPDefaultmapClauseKind
getDefaultmapKind() const
clang::OpenMPDefaultmapClauseKind
getDefaultmapKind() const
Description
Get kind of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:6621
¶clang::SourceLocation getDefaultmapKindLoc()
clang::SourceLocation getDefaultmapKindLoc()
Description
Get kind location.
Declared at: clang/include/clang/AST/OpenMPClause.h:6632
¶clang::OpenMPDefaultmapClauseModifier
getDefaultmapModifier() const
clang::OpenMPDefaultmapClauseModifier
getDefaultmapModifier() const
Description
Get the modifier of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:6624
¶clang::SourceLocation getDefaultmapModifierLoc()
const
clang::SourceLocation getDefaultmapModifierLoc()
const
Description
Get the modifier location.
Declared at: clang/include/clang/AST/OpenMPClause.h:6635
¶clang::SourceLocation getLParenLoc()
clang::SourceLocation getLParenLoc()
Description
Get location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:6629
¶void setDefaultmapKind(
clang::OpenMPDefaultmapClauseKind K)
void setDefaultmapKind(
clang::OpenMPDefaultmapClauseKind K)
Description
Set defaultmap kind.
Declared at: clang/include/clang/AST/OpenMPClause.h:6573
Parameters
- clang::OpenMPDefaultmapClauseKind K
- Defaultmap kind.
¶void setDefaultmapKindLoc(
clang::SourceLocation KLoc)
void setDefaultmapKindLoc(
clang::SourceLocation KLoc)
Description
Set defaultmap kind start location.
Declared at: clang/include/clang/AST/OpenMPClause.h:6595
Parameters
- clang::SourceLocation KLoc
- Defaultmap kind location.
¶void setDefaultmapModifier(
clang::OpenMPDefaultmapClauseModifier M)
void setDefaultmapModifier(
clang::OpenMPDefaultmapClauseModifier M)
Description
Set the defaultmap modifier.
Declared at: clang/include/clang/AST/OpenMPClause.h:6578
Parameters
- clang::OpenMPDefaultmapClauseModifier M
- Defaultmap modifier.
¶void setDefaultmapModifierLoc(
clang::SourceLocation Loc)
void setDefaultmapModifierLoc(
clang::SourceLocation Loc)
Description
Set location of the defaultmap modifier.
Declared at: clang/include/clang/AST/OpenMPClause.h:6583
Parameters
¶void setLParenLoc(clang::SourceLocation Loc)
void setLParenLoc(clang::SourceLocation Loc)
Description
Sets the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:6590
Parameters
- clang::SourceLocation Loc
- Location of '('.
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Declared at: clang/include/clang/AST/OpenMPClause.h:6647
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:6650