File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -1106,36 +1106,31 @@ class DIDerivedType : public DIType {
1106
1106
std::optional<unsigned > getPtrAuthKey () const {
1107
1107
if (auto PtrAuthData = getPtrAuthData ())
1108
1108
return (unsigned )PtrAuthData->Payload .Data .Key ;
1109
- else
1110
- return std::nullopt;
1109
+ return std::nullopt;
1111
1110
}
1112
1111
// / \returns The PointerAuth address discrimination bit.
1113
1112
std::optional<bool > isPtrAuthAddressDiscriminated () const {
1114
1113
if (auto PtrAuthData = getPtrAuthData ())
1115
1114
return (bool )PtrAuthData->Payload .Data .IsAddressDiscriminated ;
1116
- else
1117
- return std::nullopt;
1115
+ return std::nullopt;
1118
1116
}
1119
1117
// / \returns The PointerAuth extra discriminator.
1120
1118
std::optional<unsigned > getPtrAuthExtraDiscriminator () const {
1121
1119
if (auto PtrAuthData = getPtrAuthData ())
1122
1120
return (unsigned )PtrAuthData->Payload .Data .ExtraDiscriminator ;
1123
- else
1124
- return std::nullopt;
1121
+ return std::nullopt;
1125
1122
}
1126
1123
// / \returns The PointerAuth IsaPointer bit.
1127
1124
std::optional<bool > isPtrAuthIsaPointer () const {
1128
1125
if (auto PtrAuthData = getPtrAuthData ())
1129
1126
return (bool )PtrAuthData->Payload .Data .IsaPointer ;
1130
- else
1131
- return std::nullopt;
1127
+ return std::nullopt;
1132
1128
}
1133
1129
// / \returns The PointerAuth authenticates null values bit.
1134
1130
std::optional<bool > getPtrAuthAuthenticatesNullValues () const {
1135
1131
if (auto PtrAuthData = getPtrAuthData ())
1136
1132
return (bool )PtrAuthData->Payload .Data .AuthenticatesNullValues ;
1137
- else
1138
- return std::nullopt;
1133
+ return std::nullopt;
1139
1134
}
1140
1135
1141
1136
// / Get extra data associated with this derived type.
You can’t perform that action at this time.
0 commit comments