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