We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbd228 commit 61a58fcCopy full SHA for 61a58fc
flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
@@ -842,10 +842,8 @@ class TargetRewrite : public fir::impl::TargetRewritePassBase<TargetRewrite> {
842
// Convert a CHARACTER argument type. This can involve separating
843
// the pointer and the LEN into two arguments and moving the LEN
844
// argument to the end of the arg list.
845
- for (auto e : llvm::enumerate(
846
- specifics->boxcharArgumentType(boxTy.getEleTy()))) {
847
- auto &tup = e.value();
848
- auto index = e.index();
+ for (auto &tup :
+ specifics->boxcharArgumentType(boxTy.getEleTy())) {
849
auto attr = std::get<fir::CodeGenSpecifics::Attributes>(tup);
850
auto argTy = std::get<mlir::Type>(tup);
851
if (attr.isAppend()) {
0 commit comments