Identified with readability-redundant-control-flow.
void VisitConstantExpr(ConstantExpr *E) {
// Don't mark declarations within a ConstantExpression, as this expression
// will be evaluated and folded to a value.
- return;
}
void VisitDeclRefExpr(DeclRefExpr *E) {
diagMessageStream.str(), diagOpts->ShowColors);
os.flush();
- return;
}
Fortran::lower::AbstractConverter &converter,
const Fortran::parser::AllocateStmt &stmt, mlir::Location loc) {
AllocateStmtHelper{converter, stmt, loc}.lower();
- return;
}
//===----------------------------------------------------------------------===//
params.push_back(getCharacterLength(exprOrSym));
else if (category == Fortran::common::TypeCategory::Derived)
TODO(converter.getCurrentLocation(), "derived type length parameters");
- return;
}
Fortran::lower::LenParameterTy
getCharacterLength(const Fortran::semantics::Symbol &symbol) {
integerSet = mlir::IntegerSet::get(dimCount, symCount,
{constraintPair.getValue().first},
{constraintPair.getValue().second});
- return;
}
llvm::Optional<std::pair<AffineExpr, bool>>
return populateIndexArgs(acoOp, shapeShift, indexArgs, rewriter);
if (auto slice = acoOp.getShape().getDefiningOp<SliceOp>())
return populateIndexArgs(acoOp, slice, indexArgs, rewriter);
- return;
}
/// Returns affine.apply and fir.convert from array_coor and gendims
// did not found an enclosing looping construct within the OpenMP/OpenACC
// directive
EmitUnlabelledBranchOutError(stmt);
- return;
}
SemanticsContext &context_;
/// Specify debug info should be loaded.
///
/// It will be no-op for most implementations except SymbolFileOnDemand.
- virtual void SetLoadDebugInfoEnabled() { return; }
+ virtual void SetLoadDebugInfoEnabled() {}
// Compile Unit function calls
// Approach 1 - iterator
Vec = &CurrentLoop->getSubLoops();
}
LoopList.push_back(CurrentLoop);
- return;
}
namespace {