[NFCI] Fix set-but-unused warning in CGOpenMPRuntime.cpp

This commit is contained in:
Dávid Bolvanský 2022-03-24 07:49:21 +01:00
parent dc46fa41d4
commit a683ba4ff5
1 changed files with 0 additions and 2 deletions

View File

@ -11989,7 +11989,6 @@ void CGOpenMPRuntime::emitDeclareSimdFunction(const FunctionDecl *FD,
}
// Mark linear parameters.
auto *SI = Attr->steps_begin();
auto *MI = Attr->modifiers_begin();
for (const Expr *E : Attr->linears()) {
E = E->IgnoreParenImpCasts();
unsigned Pos;
@ -12033,7 +12032,6 @@ void CGOpenMPRuntime::emitDeclareSimdFunction(const FunctionDecl *FD,
if (Linear == ParamAttr.Kind)
ParamAttr.StrideOrArg = ParamAttr.StrideOrArg * PtrRescalingFactor;
++SI;
++MI;
}
llvm::APSInt VLENVal;
SourceLocation ExprLoc;