File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12325,7 +12325,6 @@ bool Sema::isCompatibleBoundsUnsafeAssignment(
12325
12325
case IncompatibleFunctionPointer:
12326
12326
case IncompatibleFunctionPointerStrict:
12327
12327
case IncompatiblePointerSign:
12328
- case CompatiblePointerDiscardsQualifiers:
12329
12328
case IncompatiblePointerDiscardsQualifiers:
12330
12329
case IncompatibleNestedPointerAddressSpaceMismatch:
12331
12330
case IncompatibleNestedPointerQualifiers:
@@ -12334,6 +12333,8 @@ bool Sema::isCompatibleBoundsUnsafeAssignment(
12334
12333
case Incompatible:
12335
12334
// Not errors
12336
12335
case CompatibleSingleToExplicitIndexablePointer:
12336
+ case CompatiblePointerDiscardsQualifiers:
12337
+ case CompatibleVoidPtrToNonVoidPtr:
12337
12338
case Compatible:
12338
12339
return false;
12339
12340
}
You can’t perform that action at this time.
0 commit comments