1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef FORTRAN_SEMANTICS_RESOLVE_DIRECTIVES_H_
10 #define FORTRAN_SEMANTICS_RESOLVE_DIRECTIVES_H_
12 namespace Fortran::parser
{
16 } // namespace Fortran::parser
18 namespace Fortran::semantics
{
20 class SemanticsContext
;
22 // Name resolution for OpenACC and OpenMP directives
24 SemanticsContext
&, const parser::ProgramUnit
&, Scope
*topScope
);
25 void ResolveOmpParts(SemanticsContext
&, const parser::ProgramUnit
&);
26 void ResolveOmpTopLevelParts(SemanticsContext
&, const parser::Program
&);
28 } // namespace Fortran::semantics