Skip to content

Commit 158481e

Browse files
committed
a little more tidying up
1 parent 1b825b5 commit 158481e

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

flang/include/flang/Lower/AbstractConverter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#define FORTRAN_LOWER_ABSTRACTCONVERTER_H
1515

1616
#include "flang/Lower/LoweringOptions.h"
17-
#include "flang/Lower/OpenACC.h"
1817
#include "flang/Lower/PFTDefs.h"
1918
#include "flang/Optimizer/Builder/BoxValue.h"
2019
#include "flang/Optimizer/Dialect/FIRAttr.h"

flang/include/flang/Lower/OpenACC.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ static constexpr llvm::StringRef declarePostDeallocSuffix =
7272

7373
static constexpr llvm::StringRef privatizationRecipePrefix = "privatization";
7474

75-
bool needsOpenACCRoutineConstruct(
76-
const Fortran::evaluate::ProcedureDesignator *);
77-
7875
mlir::Value genOpenACCConstruct(AbstractConverter &,
7976
Fortran::semantics::SemanticsContext &,
8077
pft::Evaluation &,

flang/lib/Lower/Bridge.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5897,7 +5897,8 @@ class FirConverter : public Fortran::lower::AbstractConverter {
58975897
/// Helper to generate GlobalOps when the builder is not positioned in any
58985898
/// region block. This is required because the FirOpBuilder assumes it is
58995899
/// always positioned inside a region block when creating globals, the easiest
5900-
/// way comply is to create a dummy function and to throw it away afterwards.
5900+
/// way to comply is to create a dummy function and to throw it away
5901+
/// afterwards.
59015902
void createGlobalOutsideOfFunctionLowering(
59025903
const std::function<void()> &createGlobals) {
59035904
// FIXME: get rid of the bogus function context and instantiate the

0 commit comments

Comments
 (0)