Skip to content

Commit 64b6b42

Browse files
committed
Reduce change noise
1 parent baa7cb1 commit 64b6b42

File tree

9 files changed

+7
-21
lines changed

9 files changed

+7
-21
lines changed

flang/include/flang/Runtime/allocatable.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111
#ifndef FORTRAN_RUNTIME_ALLOCATABLE_H_
1212
#define FORTRAN_RUNTIME_ALLOCATABLE_H_
1313

14-
#include "flang/Common/Fortran-consts.h"
15-
#include "flang/Runtime/descriptor-consts.h"
14+
#include "flang/Runtime/descriptor.h"
1615
#include "flang/Runtime/entry-names.h"
1716

1817
namespace Fortran::runtime {
19-
using SubscriptValue = ISO::CFI_index_t;
20-
using common::TypeCategory;
2118

2219
extern "C" {
2320

flang/include/flang/Runtime/io-api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- include/flang-rt/io-api.h -------------------------------*- C++ -*-===//
1+
//===-- include/flang/Runtime/io-api.h --------------------------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

flang/include/flang/Runtime/pointer.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@
1212
#ifndef FORTRAN_RUNTIME_POINTER_H_
1313
#define FORTRAN_RUNTIME_POINTER_H_
1414

15-
#include "flang/Common/Fortran-consts.h"
16-
#include "flang/Runtime/descriptor-consts.h"
15+
#include "flang/Runtime/descriptor.h"
1716
#include "flang/Runtime/entry-names.h"
1817

1918
namespace Fortran::runtime {
20-
using SubscriptValue = ISO::CFI_index_t;
21-
using common::TypeCategory;
22-
2319
extern "C" {
2420

2521
// Data pointer initialization for NULLIFY(), "p=>NULL()`, & for ALLOCATE().
@@ -126,4 +122,4 @@ RT_API_ATTRS bool ValidatePointerPayload(const ISO::CFI_cdesc_t &);
126122

127123
} // extern "C"
128124
} // namespace Fortran::runtime
129-
#endif /* FORTRAN_RUNTIME_POINTER_H_ */
125+
#endif // FORTRAN_RUNTIME_POINTER_H_

flang/include/flang/Semantics/semantics.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "flang/Evaluate/intrinsics.h"
1818
#include "flang/Evaluate/target.h"
1919
#include "flang/Parser/message.h"
20-
#include "flang/Semantics/module-dependences.h"
2120
#include "flang/Support/Fortran-features.h"
2221
#include "flang/Support/LangOptions.h"
2322
#include <iosfwd>

flang/lib/Optimizer/Dialect/FIRType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,4 +1419,4 @@ fir::getTypeSizeAndAlignmentOrCrash(mlir::Location loc, mlir::Type ty,
14191419
if (result)
14201420
return *result;
14211421
TODO(loc, "computing size of a component");
1422-
}
1422+
}

flang/lib/Support/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ if(FLANG_VENDOR)
4242
PROPERTIES COMPILE_DEFINITIONS "FLANG_VENDOR=\"${FLANG_VENDOR} \"")
4343
endif()
4444

45-
4645
add_flang_library(FortranSupport
4746
Fortran.cpp
4847
Fortran-features.cpp
@@ -54,8 +53,8 @@ add_flang_library(FortranSupport
5453
${version_inc}
5554

5655
LINK_COMPONENTS
57-
Support
56+
Support
5857

5958
LINK_LIBS
60-
MLIRIR
59+
MLIRIR
6160
)

flang/runtime/CUDA/allocatable.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include "flang/Runtime/CUDA/descriptor.h"
1515
#include "flang/Runtime/CUDA/memmove-function.h"
1616
#include "flang/Runtime/allocatable.h"
17-
#include "flang/Runtime/descriptor.h"
1817

1918
#include "cuda_runtime.h"
2019

flang/unittests/Runtime/CUDA/Allocatable.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "flang/Runtime/CUDA/common.h"
1414
#include "flang/Runtime/CUDA/descriptor.h"
1515
#include "flang/Runtime/allocator-registry.h"
16-
#include "flang/Runtime/descriptor.h"
17-
#include "flang/Runtime/memory.h"
1816
#include "flang/Support/Fortran.h"
1917

2018
#include "cuda_runtime.h"

flang/unittests/Runtime/CUDA/AllocatorCUF.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include "flang/Runtime/CUDA/descriptor.h"
1313
#include "flang/Runtime/allocatable.h"
1414
#include "flang/Runtime/allocator-registry.h"
15-
#include "flang/Runtime/descriptor.h"
16-
#include "flang/Runtime/memory.h"
1715
#include "flang/Support/Fortran.h"
1816

1917
#include "cuda_runtime.h"

0 commit comments

Comments
 (0)