Skip to content

Commit bdead72

Browse files
committed
Fix formatting
1 parent 3029793 commit bdead72

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ genLoopNestClauses(lower::AbstractConverter &converter,
17561756

17571757
llvm::SmallVector<int64_t> sizeValues;
17581758
auto *ompCons{eval.getIf<parser::OpenMPConstruct>()};
1759-
collectTileSizesFromOpenMPConstruct (ompCons, sizeValues, semaCtx);
1759+
collectTileSizesFromOpenMPConstruct(ompCons, sizeValues, semaCtx);
17601760
if (sizeValues.size() > 0)
17611761
clauseOps.tileSizes = sizeValues;
17621762
}

flang/lib/Lower/OpenMP/Utils.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
using namespace Fortran::semantics;
3434

3535
template <typename T>
36-
MaybeIntExpr
37-
EvaluateIntExpr(SemanticsContext &context, const T &expr) {
36+
MaybeIntExpr EvaluateIntExpr(SemanticsContext &context, const T &expr) {
3837
if (MaybeExpr maybeExpr{
3938
Fold(context.foldingContext(), AnalyzeExpr(context, expr))}) {
4039
if (auto *intExpr{Fortran::evaluate::UnwrapExpr<SomeIntExpr>(*maybeExpr)}) {
@@ -45,8 +44,8 @@ EvaluateIntExpr(SemanticsContext &context, const T &expr) {
4544
}
4645

4746
template <typename T>
48-
std::optional<std::int64_t>
49-
EvaluateInt64(SemanticsContext &context, const T &expr) {
47+
std::optional<std::int64_t> EvaluateInt64(SemanticsContext &context,
48+
const T &expr) {
5049
return Fortran::evaluate::ToInt64(EvaluateIntExpr(context, expr));
5150
}
5251

@@ -639,8 +638,7 @@ static void convertLoopBounds(lower::AbstractConverter &converter,
639638
// Contains a loop construct with an inner tiling construct.
640639
void collectTileSizesFromOpenMPConstruct(
641640
const parser::OpenMPConstruct *ompCons,
642-
llvm::SmallVectorImpl<int64_t> &tileSizes,
643-
SemanticsContext &semaCtx) {
641+
llvm::SmallVectorImpl<int64_t> &tileSizes, SemanticsContext &semaCtx) {
644642
if (!ompCons)
645643
return;
646644

0 commit comments

Comments
 (0)