[NFC][flang][runtime] Moved freestanding-tools.h to use it in FortranDecimal. (#87827)

I will add `toupper` implementation into it in the next PR.
This commit is contained in:
Slava Zakharin 2024-04-05 15:10:04 -07:00 committed by GitHub
parent 42a6ad7bad
commit 3b337242ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
//===-- runtime/freestanding-tools.h ----------------------------*- C++ -*-===//
//===-- include/flang/Runtime/freestanding-tools.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.

View File

@ -11,8 +11,8 @@
#ifndef FORTRAN_RUNTIME_BUFFER_H_
#define FORTRAN_RUNTIME_BUFFER_H_
#include "freestanding-tools.h"
#include "io-error.h"
#include "flang/Runtime/freestanding-tools.h"
#include "flang/Runtime/memory.h"
#include <algorithm>
#include <cinttypes>

View File

@ -7,8 +7,8 @@
//===----------------------------------------------------------------------===//
#include "descriptor-io.h"
#include "freestanding-tools.h"
#include "flang/Common/restorer.h"
#include "flang/Runtime/freestanding-tools.h"
namespace Fortran::runtime::io::descr {
RT_OFFLOAD_API_GROUP_BEGIN

View File

@ -7,12 +7,12 @@
//===----------------------------------------------------------------------===//
#include "edit-input.h"
#include "freestanding-tools.h"
#include "namelist.h"
#include "utf.h"
#include "flang/Common/optional.h"
#include "flang/Common/real.h"
#include "flang/Common/uint128.h"
#include "flang/Runtime/freestanding-tools.h"
#include <algorithm>
#include <cfenv>

View File

@ -12,11 +12,11 @@
#define FORTRAN_RUNTIME_FORMAT_H_
#include "environment.h"
#include "freestanding-tools.h"
#include "io-error.h"
#include "flang/Common/Fortran.h"
#include "flang/Common/optional.h"
#include "flang/Decimal/decimal.h"
#include "flang/Runtime/freestanding-tools.h"
#include <cinttypes>
namespace Fortran::runtime {

View File

@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "internal-unit.h"
#include "freestanding-tools.h"
#include "io-error.h"
#include "flang/Runtime/descriptor.h"
#include "flang/Runtime/freestanding-tools.h"
#include <algorithm>
#include <type_traits>

View File

@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "flang/Runtime/memory.h"
#include "freestanding-tools.h"
#include "terminator.h"
#include "tools.h"
#include "flang/Runtime/freestanding-tools.h"
#include <cstdlib>
namespace Fortran::runtime {

View File

@ -9,12 +9,12 @@
#ifndef FORTRAN_RUNTIME_TOOLS_H_
#define FORTRAN_RUNTIME_TOOLS_H_
#include "freestanding-tools.h"
#include "stat.h"
#include "terminator.h"
#include "flang/Common/optional.h"
#include "flang/Runtime/cpp-type.h"
#include "flang/Runtime/descriptor.h"
#include "flang/Runtime/freestanding-tools.h"
#include "flang/Runtime/memory.h"
#include <cstring>
#include <functional>