| 
    clang 22.0.0git
    
   | 
 
This represents 'fail' clause in the '#pragma omp atomic' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPFailClause (SourceLocation StartLoc, SourceLocation EndLoc) | |
| Build 'fail' clause.   | |
| OMPFailClause (OpenMPClauseKind FailParameter, SourceLocation FailParameterLoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| OMPFailClause () | |
| Build an empty clause.   | |
| child_range | children () | 
| const_child_range | children () const | 
| child_range | used_children () | 
| const_child_range | used_children () const | 
| SourceLocation | getLParenLoc () const | 
| Gets the location of '(' (for the parameter) in fail clause.   | |
| SourceLocation | getFailParameterLoc () const | 
| Gets the location of Fail Parameter (type memory-order-clause) in fail clause.   | |
| OpenMPClauseKind | getFailParameter () const | 
| Gets the parameter (type memory-order-clause) in Fail clause.   | |
| Public Member Functions inherited from clang::OMPClause | |
| SourceLocation | getBeginLoc () const | 
| Returns the starting location of the clause.   | |
| SourceLocation | getEndLoc () const | 
| Returns the ending location of the clause.   | |
| void | setLocStart (SourceLocation Loc) | 
| Sets the starting location of the clause.   | |
| void | setLocEnd (SourceLocation Loc) | 
| Sets the ending location of the clause.   | |
| OpenMPClauseKind | getClauseKind () const | 
| Returns kind of OpenMP clause (private, shared, reduction, etc.).   | |
| bool | isImplicit () const | 
| child_range | children () | 
| const_child_range | children () const | 
| child_range | used_children () | 
| Get the iterator range for the expressions used in the clauses.   | |
| const_child_range | used_children () const | 
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) | 
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) | 
Friends | |
| class | OMPClauseReader | 
Additional Inherited Members | |
| Public Types inherited from clang::OMPClause | |
| using | child_iterator = StmtIterator | 
| using | const_child_iterator = ConstStmtIterator | 
| using | child_range = llvm::iterator_range<child_iterator> | 
| using | const_child_range = llvm::iterator_range<const_child_iterator> | 
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'fail' clause in the '#pragma omp atomic' directive.
In this example directive '#pragma omp atomic compare' has 'fail' clause.
Definition at line 3265 of file OpenMPClause.h.
      
  | 
  inline | 
Build 'fail' clause.
| StartLoc | Starting location of the clause. | 
| EndLoc | Ending location of the clause. | 
Definition at line 3293 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
      
  | 
  inline | 
Definition at line 3296 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
      
  | 
  inline | 
Build an empty clause.
Definition at line 3306 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
      
  | 
  inline | 
Definition at line 3309 of file OpenMPClause.h.
      
  | 
  inline | 
Definition at line 3313 of file OpenMPClause.h.
Definition at line 3324 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), and clang::T.
      
  | 
  inline | 
Gets the parameter (type memory-order-clause) in Fail clause.
Definition at line 3338 of file OpenMPClause.h.
      
  | 
  inline | 
Gets the location of Fail Parameter (type memory-order-clause) in fail clause.
Definition at line 3335 of file OpenMPClause.h.
      
  | 
  inline | 
Gets the location of '(' (for the parameter) in fail clause.
Definition at line 3329 of file OpenMPClause.h.
      
  | 
  inline | 
Definition at line 3317 of file OpenMPClause.h.
      
  | 
  inline | 
Definition at line 3320 of file OpenMPClause.h.
      
  | 
  friend | 
Definition at line 3273 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.