Skip to content

Commit 63a1313

Browse files
committed
Fix build
1 parent 315e491 commit 63a1313

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

clang/lib/CodeGen/CodeGenFunction.h

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,19 @@ template <> struct DominatingValue<Address> {
203203
}
204204
static saved_type save(CodeGenFunction &CGF, type value) {
205205
bool isSigned = value.getPointerAuthInfo().isSigned();
206-
return {DominatingLLVMValue::save(CGF, value.getBasePointer()),
207-
value.getElementType(), value.getAlignment(),
208-
isSigned ? value.getPointerAuthInfo().getKey() : 0,
209-
value.getPointerAuthInfo().getAuthenticationMode(),
210-
value.getPointerAuthInfo().isIsaPointer(),
211-
value.getPointerAuthInfo().authenticatesNullValues(),
212-
isSigned ? DominatingLLVMValue::save(
213-
CGF, value.getPointerAuthInfo().getDiscriminator())
214-
: DominatingLLVMValue::saved_type(),
215-
DominatingLLVMValue::save(CGF, value.getOffset()),
216-
value.getType()};
206+
return saved_type{
207+
DominatingLLVMValue::save(CGF, value.getBasePointer()),
208+
value.getElementType(),
209+
value.getAlignment(),
210+
isSigned ? value.getPointerAuthInfo().getKey() : 0,
211+
value.getPointerAuthInfo().getAuthenticationMode(),
212+
value.getPointerAuthInfo().isIsaPointer(),
213+
value.getPointerAuthInfo().authenticatesNullValues(),
214+
isSigned ? DominatingLLVMValue::save(
215+
CGF, value.getPointerAuthInfo().getDiscriminator())
216+
: DominatingLLVMValue::saved_type(),
217+
DominatingLLVMValue::save(CGF, value.getOffset()),
218+
value.getType()};
217219
}
218220
static type restore(CodeGenFunction &CGF, saved_type value) {
219221
CGPointerAuthInfo info;

0 commit comments

Comments
 (0)