1//===-- OpenACCClauses.def - List of implemented OpenACC Clauses -- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines a list of currently implemented OpenACC Clauses (and
10// eventually, the entire list) in a way that makes generating 'visitor' and
11// other lists easier.
12//
13// The primary macro is a single-argument version taking the name of the Clause
14// as used in Clang source (so `Default` instead of `default`).
15//
16// VISIT_CLAUSE(CLAUSE_NAME)
17
18VISIT_CLAUSE(Default)
19VISIT_CLAUSE(If)
20VISIT_CLAUSE(Self)
21VISIT_CLAUSE(NumGangs)
22VISIT_CLAUSE(NumWorkers)
23VISIT_CLAUSE(VectorLength)
24
25#undef VISIT_CLAUSE
26

source code of clang/include/clang/Basic/OpenACCClauses.def