mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
[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
Block a user