[clang] Remove Address::deprecated() in CGCXXABI.h
This commit is contained in:
parent
4986a41f58
commit
ba9944ea1d
|
@ -56,7 +56,10 @@ protected:
|
|||
return CGF.CXXABIThisValue;
|
||||
}
|
||||
Address getThisAddress(CodeGenFunction &CGF) {
|
||||
return Address::deprecated(CGF.CXXABIThisValue, CGF.CXXABIThisAlignment);
|
||||
return Address(
|
||||
CGF.CXXABIThisValue,
|
||||
CGF.ConvertTypeForMem(CGF.CXXABIThisDecl->getType()->getPointeeType()),
|
||||
CGF.CXXABIThisAlignment);
|
||||
}
|
||||
|
||||
/// Issue a diagnostic about unsupported features in the ABI.
|
||||
|
|
Loading…
Reference in New Issue