[MemProf] Templatize CallStackRadixTreeBuilder (NFC) (#117014)
[llvm-project.git] / flang / lib / Semantics / resolve-directives.h
blob5a890c26aa3349c9c409c2eaf55a24d52b3a5f69
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 //===----------------------------------------------------------------------===//
9 #ifndef FORTRAN_SEMANTICS_RESOLVE_DIRECTIVES_H_
10 #define FORTRAN_SEMANTICS_RESOLVE_DIRECTIVES_H_
12 namespace Fortran::parser {
13 struct Name;
14 struct Program;
15 struct ProgramUnit;
16 } // namespace Fortran::parser
18 namespace Fortran::semantics {
19 class Scope;
20 class SemanticsContext;
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 &);
28 } // namespace Fortran::semantics
29 #endif