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