[clang] [OpenACC] Implement beginning parts of the 'parallel' Sema impl (PR #81659)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 06:52:58 PST 2024


================
@@ -0,0 +1,132 @@
+//===--- SemaOpenACC.cpp - Semantic Analysis for OpenACC constructs -------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+/// \file
+/// This file implements semantic analysis for OpenACC constructs and
+/// clauses.
+///
+//===----------------------------------------------------------------------===//
+
+#include "clang/Basic/DiagnosticSema.h"
+#include "clang/Basic/OpenACCKinds.h"
+#include "clang/Sema/Sema.h"
+
+using namespace clang;
+
+namespace {
+bool DiagnoseConstructAppertainment(Sema &S, OpenACCDirectiveKind K,
----------------
alexey-bataev wrote:

diagnoseConstructAppertainment

https://github.com/llvm/llvm-project/pull/81659


More information about the cfe-commits mailing list