//===- llvm/unittest/Frontend/OpenACCTest.cpp - OpenACC Frontend tests ----===// // // 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 // //===----------------------------------------------------------------------===// #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Frontend/OpenACC/ACC.h.inc" #include "gtest/gtest.h" usingnamespacellvm; usingnamespaceacc; namespace { static const Clause AllClauses[] = …; TEST(OpenACCTest, DirectiveHelpers) { … } TEST(OpenACCTest, ClauseHelpers) { … } static void expectAllowedClauses(Directive Dir, unsigned Version, const ArrayRef<Clause> &AllowedClauses) { … } TEST(OpenACCTest, AllowedClause) { … } } // namespace