clang 20.0.0git
Macros
SemaOpenACC.cpp File Reference

This file implements semantic analysis for OpenACC constructs and clauses. More...

#include "clang/Sema/SemaOpenACC.h"
#include "clang/AST/StmtOpenACC.h"
#include "clang/Basic/DiagnosticSema.h"
#include "clang/Basic/OpenACCKinds.h"
#include "clang/Sema/Sema.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Casting.h"
#include "clang/Basic/OpenACCClauses.def"

Go to the source code of this file.

Macros

#define VISIT_CLAUSE(CLAUSE_NAME)
 
#define CLAUSE_ALIAS(ALIAS, CLAUSE_NAME, DEPRECATED)
 
#define VISIT_CLAUSE(CLAUSE_NAME)
 

Detailed Description

This file implements semantic analysis for OpenACC constructs and clauses.

Definition in file SemaOpenACC.cpp.

Macro Definition Documentation

◆ CLAUSE_ALIAS

#define CLAUSE_ALIAS (   ALIAS,
  CLAUSE_NAME,
  DEPRECATED 
)
Value:
case OpenACCClauseKind::ALIAS: \
if (DEPRECATED) \
SemaRef.Diag(Clause.getBeginLoc(), diag::warn_acc_deprecated_alias_name) \
<< Clause.getClauseKind() << OpenACCClauseKind::CLAUSE_NAME; \
return Visit##CLAUSE_NAME##Clause(Clause);

◆ VISIT_CLAUSE [1/2]

#define VISIT_CLAUSE (   CLAUSE_NAME)
Value:
case OpenACCClauseKind::CLAUSE_NAME: \
return Visit##CLAUSE_NAME##Clause(Clause);

Definition at line 487 of file SemaOpenACC.cpp.

◆ VISIT_CLAUSE [2/2]

#define VISIT_CLAUSE (   CLAUSE_NAME)
Value:
OpenACCClause *Visit##CLAUSE_NAME##Clause( \
This is the base type for all OpenACC Clauses.
Definition: OpenACCClause.h:24
A type to represent all the data for an OpenACC Clause that has been parsed, but not yet created/sema...
Definition: SemaOpenACC.h:46

Definition at line 487 of file SemaOpenACC.cpp.