clang  9.0.0svn
Macros | Functions
OpenMPClause.cpp File Reference
#include "clang/AST/OpenMPClause.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclOpenMP.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <cassert>
#include "clang/Basic/OpenMPKinds.def"
Include dependency graph for OpenMPClause.cpp:

Go to the source code of this file.

Macros

#define OPENMP_CLAUSE(Name, Class)
 
#define OPENMP_CLAUSE(Name, Class)
 

Functions

static Stmt ** getAddrOfExprAsWritten (Stmt *S)
 Gets the address of the original, non-captured, expression used in the clause as the preinitializer. More...
 

Macro Definition Documentation

◆ OPENMP_CLAUSE [1/2]

#define OPENMP_CLAUSE (   Name,
  Class 
)
Value:
case OMPC_##Name: \
return static_cast<Class *>(this)->children();
child_range children()

◆ OPENMP_CLAUSE [2/2]

#define OPENMP_CLAUSE (   Name,
  Class 
)
Value:
case OMPC_##Name: \
return static_cast<Class *>(this)->used_children();
child_range used_children()

Function Documentation

◆ getAddrOfExprAsWritten()

static Stmt** getAddrOfExprAsWritten ( Stmt S)
static

Gets the address of the original, non-captured, expression used in the clause as the preinitializer.

Definition at line 214 of file OpenMPClause.cpp.

Referenced by clang::OMPIfClause::used_children().