Skip to content
Snippets Groups Projects
Commit ba9944ea authored by Arthur Eubanks's avatar Arthur Eubanks
Browse files

[clang] Remove Address::deprecated() in CGCXXABI.h

parent 4986a41f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment