forked from OSchip/llvm-project
[NFCI] Fix set-but-unused warning in CGOpenMPRuntime.cpp
This commit is contained in:
parent
dc46fa41d4
commit
a683ba4ff5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue