clang 20.0.0git
Macros | Functions
OpenMPClause.cpp File Reference
#include "clang/AST/OpenMPClause.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclOpenMP.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/OpenMPKinds.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <cassert>
#include <optional>
#include "llvm/Frontend/OpenMP/OMP.inc"

Go to the source code of this file.

Macros

#define GEN_CLANG_CLAUSE_CLASS
 
#define CLAUSE_CLASS(Enum, Str, Class)
 
#define GEN_CLANG_CLAUSE_CLASS
 
#define CLAUSE_CLASS(Enum, Str, Class)
 
#define CLAUSE_NO_CLASS(Enum, Str)
 

Functions

static Stmt ** getAddrOfExprAsWritten (Stmt *S)
 Gets the address of the original, non-captured, expression used in the clause as the preinitializer.
 
template<typename T >
static void PrintMapper (raw_ostream &OS, T *Node, const PrintingPolicy &Policy)
 
template<typename T >
static void PrintIterator (raw_ostream &OS, T *Node, const PrintingPolicy &Policy)
 

Macro Definition Documentation

◆ CLAUSE_CLASS [1/2]

#define CLAUSE_CLASS (   Enum,
  Str,
  Class 
)
Value:
case Enum: \
return static_cast<Class *>(this)->children();
@ Class
The "class" keyword introduces the elaborated-type-specifier.
@ Enum
The "enum" keyword introduces the elaborated-type-specifier.

◆ CLAUSE_CLASS [2/2]

#define CLAUSE_CLASS (   Enum,
  Str,
  Class 
)
Value:
case Enum: \
return static_cast<Class *>(this)->used_children();

◆ CLAUSE_NO_CLASS

#define CLAUSE_NO_CLASS (   Enum,
  Str 
)
Value:
case Enum: \
break;

◆ GEN_CLANG_CLAUSE_CLASS [1/2]

#define GEN_CLANG_CLAUSE_CLASS

◆ GEN_CLANG_CLAUSE_CLASS [2/2]

#define GEN_CLANG_CLAUSE_CLASS

Function Documentation

◆ getAddrOfExprAsWritten()

static Stmt ** getAddrOfExprAsWritten ( Stmt S)
static

◆ PrintIterator()

template<typename T >
static void PrintIterator ( raw_ostream &  OS,
T *  Node,
const PrintingPolicy Policy 
)
static

Definition at line 2443 of file OpenMPClause.cpp.

References Node.

◆ PrintMapper()

template<typename T >
static void PrintMapper ( raw_ostream &  OS,
T *  Node,
const PrintingPolicy Policy 
)
static

Definition at line 2432 of file OpenMPClause.cpp.

References Node, and clang::NestedNameSpecifier::print().