aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/canonicalize-do.h
blob: bbdad8cedc23ac884bad5a1c36fb9eab7c1945df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===-- lib/Semantics/canonicalize-do.h -------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef FORTRAN_SEMANTICS_CANONICALIZE_DO_H_
#define FORTRAN_SEMANTICS_CANONICALIZE_DO_H_

// Converts a LabelDo followed by a sequence of ExecutableConstructs (perhaps
// logically nested) into the more structured DoConstruct (explicitly nested)
namespace Fortran::parser {
struct Program;
bool CanonicalizeDo(Program &program);
} // namespace Fortran::parser

#endif // FORTRAN_SEMANTICS_CANONICALIZE_DO_H_