Warning: This file is not a C or C++ file. It does not have highlighting.

1//===--- Utils.h - Misc utilities for the flang front-end --------*- C++-*-===//
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// This header contains miscellaneous utilities for various front-end actions
10// which were split from Frontend to minimise Frontend's dependencies.
11//
12//===----------------------------------------------------------------------===//
13//
14// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
15//
16//===----------------------------------------------------------------------===//
17
18#ifndef FORTRAN_FRONTEND_FRONTENDTOOL_UTILS_H
19#define FORTRAN_FRONTEND_FRONTENDTOOL_UTILS_H
20
21namespace Fortran::frontend {
22
23class CompilerInstance;
24
25/// ExecuteCompilerInvocation - Execute the given actions described by the
26/// compiler invocation object in the given compiler instance.
27///
28/// \return - True on success.
29bool executeCompilerInvocation(CompilerInstance *flang);
30
31} // end namespace Fortran::frontend
32
33#endif // FORTRAN_FRONTEND_FRONTENDTOOL_UTILS_H
34

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of flang/include/flang/FrontendTool/Utils.h