class OMPTargetExitDataDirective
Declaration
class OMPTargetExitDataDirective : public OMPExecutableDirective { /* full declaration omitted */ };
Description
This represents '#pragma omp target exit data' directive. In this example directive '#pragma omp target exit data' has clauses 'device' with the value '0', 'if' with condition 'a' and 'map' with array section 'b[:]'.
Declared at: clang/include/clang/AST/StmtOpenMP.h:3259
Inherits from: OMPExecutableDirective
Member Variables
Inherited from OMPExecutableDirective:
- protected Data = nullptr
Inherited from Stmt:
Method Overview
- public static clang::OMPTargetExitDataDirective * Create(const clang::ASTContext & C, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, ArrayRef<clang::OMPClause *> Clauses, clang::Stmt * AssociatedStmt)
- public static clang::OMPTargetExitDataDirective * CreateEmpty(const clang::ASTContext & C, unsigned int N, clang::Stmt::EmptyShell)
- private OMPTargetExitDataDirective(clang::SourceLocation StartLoc, clang::SourceLocation EndLoc)
- private OMPTargetExitDataDirective()
- public static bool classof(const clang::Stmt * T)
Inherited from OMPExecutableDirective:
- public children
- public children
- public classof
- public clauses
- protected createDirective
- protected createEmptyDirective
- protected createEmptyDirective
- public getAssociatedStmt
- public getAssociatedStmt
- public getBeginLoc
- public getCapturedStmt
- public getClause
- public getClausesOfKind
- public getClausesOfKind
- public getDirectiveKind
- public getEndLoc
- public getInnermostCapturedStmt
- public getInnermostCapturedStmt
- public getNumClauses
- public getRawStmt
- public getRawStmt
- public getSingleClause
- public getSingleClause
- public getStructuredBlock
- public getStructuredBlock
- public hasAssociatedStmt
- public hasClausesOfKind
- public isStandaloneDirective
- public setLocEnd
- public setLocStart
- public used_clauses_children
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶static clang::OMPTargetExitDataDirective* Create(
const clang::ASTContext& C,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
ArrayRef<clang::OMPClause*> Clauses,
clang::Stmt* AssociatedStmt)
static clang::OMPTargetExitDataDirective* Create(
const clang::ASTContext& C,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
ArrayRef<clang::OMPClause*> Clauses,
clang::Stmt* AssociatedStmt)
Description
Creates directive with a list of \a Clauses.
Declared at: clang/include/clang/AST/StmtOpenMP.h:3289
Parameters
- const clang::ASTContext& C
- AST context.
- clang::SourceLocation StartLoc
- Starting location of the directive kind.
- clang::SourceLocation EndLoc
- Ending Location of the directive.
- ArrayRef<clang::OMPClause*> Clauses
- List of clauses.
- clang::Stmt* AssociatedStmt
- Statement, associated with the directive.
¶static clang::OMPTargetExitDataDirective*
CreateEmpty(const clang::ASTContext& C,
unsigned int N,
clang::Stmt::EmptyShell)
static clang::OMPTargetExitDataDirective*
CreateEmpty(const clang::ASTContext& C,
unsigned int N,
clang::Stmt::EmptyShell)
Description
Creates an empty directive with the place for \a N clauses.
Declared at: clang/include/clang/AST/StmtOpenMP.h:3297
Parameters
- const clang::ASTContext& C
- AST context.
- unsigned int N
- The number of clauses.
- clang::Stmt::EmptyShell
¶OMPTargetExitDataDirective(
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc)
OMPTargetExitDataDirective(
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc)
Description
Build directive with the given start and end location.
Declared at: clang/include/clang/AST/StmtOpenMP.h:3267
Parameters
- clang::SourceLocation StartLoc
- Starting location of the directive kind.
- clang::SourceLocation EndLoc
- Ending Location of the directive.
¶OMPTargetExitDataDirective()
OMPTargetExitDataDirective()
Description
Build an empty directive.
Declared at: clang/include/clang/AST/StmtOpenMP.h:3274
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/StmtOpenMP.h:3300
Parameters
- const clang::Stmt* T