clang 20.0.0git
Macros
SemaOpenACCClause.cpp File Reference

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

#include "clang/AST/OpenACCClause.h"
#include "clang/AST/DeclCXX.h"
#include "clang/Basic/DiagnosticSema.h"
#include "clang/Basic/OpenACCKinds.h"
#include "clang/Sema/SemaOpenACC.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 clauses.

Definition in file SemaOpenACCClause.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 652 of file SemaOpenACCClause.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:202

Definition at line 652 of file SemaOpenACCClause.cpp.