mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-13 19:32:41 +00:00
1f8790050b
Original-commit: flang-compiler/f18@9fe84f45d7 Reviewed-on: https://github.com/flang-compiler/f18/pull/1094
20 lines
779 B
C++
20 lines
779 B
C++
//===-- 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_
|