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-exception
6//
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::parser
17
18namespace Fortran::semantics {
19class Scope;
20class SemanticsContext;
21
22// Name resolution for OpenACC and OpenMP directives
23void ResolveAccParts(
24 SemanticsContext &, const parser::ProgramUnit &, Scope *topScope = {});
25void ResolveOmpParts(SemanticsContext &, const parser::ProgramUnit &);
26void ResolveOmpTopLevelParts(SemanticsContext &, const parser::Program &);
27
28} // namespace Fortran::semantics
29#endif
30

source code of flang/lib/Semantics/resolve-directives.h