summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 2ca3756da38..4c6f4df7ed6 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -2219,7 +2219,7 @@ static Address emitDeclTargetLinkVarDeclLValue(CodeGenFunction &CGF,
if (Attr->getMapType() == OMPDeclareTargetDeclAttr::MT_Link) {
QualType PtrTy = CGF.getContext().getPointerType(VD->getType());
Address Addr =
- CGF.CGM.getOpenMPRuntime().getAddrOfDeclareTargetLink(CGF, VD);
+ CGF.CGM.getOpenMPRuntime().getAddrOfDeclareTargetLink(VD);
return CGF.EmitLoadOfPointer(Addr, PtrTy->castAs<PointerType>());
}
}
OpenPOWER on IntegriCloud