File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -2548,8 +2548,6 @@ class alignas(8) Type : public ExtQualsTypeCommonBase {
2548
2548
// / system, not as part of the canonical type, so nullability will
2549
2549
// / be lost by canonicalization and desugaring.
2550
2550
Optional<NullabilityKind> getNullability () const ;
2551
- // TODO: Remove overload.
2552
- Optional<NullabilityKind> getNullability (const ASTContext &) const ;
2553
2551
2554
2552
// / Determine whether the given type can have a nullability
2555
2553
// / specifier applied to it, i.e., if it is any kind of pointer type.
Original file line number Diff line number Diff line change @@ -4157,10 +4157,6 @@ Optional<NullabilityKind> Type::getNullability() const {
4157
4157
}
4158
4158
return std::nullopt;
4159
4159
}
4160
- // TODO: Remove overload.
4161
- Optional<NullabilityKind> Type::getNullability (const ASTContext &) const {
4162
- return getNullability ();
4163
- }
4164
4160
4165
4161
bool Type::canHaveNullability (bool ResultIfUnknown) const {
4166
4162
QualType type = getCanonicalTypeInternal ();
You can’t perform that action at this time.
0 commit comments