28 lines · c
1//===----------------------------------------------------------------------===//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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef FORTRAN_SEMANTICS_RESOLVE_DIRECTIVES_H_10#define FORTRAN_SEMANTICS_RESOLVE_DIRECTIVES_H_11 12namespace Fortran::parser {13struct Name;14struct Program;15struct ProgramUnit;16} // namespace Fortran::parser17 18namespace Fortran::semantics {19class Scope;20class SemanticsContext;21 22// Name resolution for OpenACC and OpenMP directives23void ResolveAccParts(24 SemanticsContext &, const parser::ProgramUnit &, Scope *topScope);25void ResolveOmpParts(SemanticsContext &, const parser::ProgramUnit &);26} // namespace Fortran::semantics27#endif28