File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,11 @@ Improvements to Clang's diagnostics
332332 properly being rejected when used at compile-time. It was not implemented
333333 and caused assertion failures before (#GH158471).
334334
335+ - Closed a loophole in the diagnosis of function pointer conversions changing
336+ extended function type information in C mode (#GH41465). Function conversions
337+ that were previously incorrectly accepted in case of other irrelevant
338+ conditions are now consistently diagnosed, identical to C++ mode.
339+
335340Improvements to Clang's time-trace
336341----------------------------------
337342
Original file line number Diff line number Diff line change @@ -10209,7 +10209,7 @@ class Sema final : public SemaBase {
1020910209
1021010210 /// Determine whether the conversion from FromType to ToType is a valid
1021110211 /// conversion of ExtInfo/ExtProtoInfo on the nested function type.
10212- /// More precisely, this method checks whether FromType can be tranformed
10212+ /// More precisely, this method checks whether FromType can be transformed
1021310213 /// into an exact match for ToType, by transforming its extended function
1021410214 /// type information in legal manner (e.g. by strictly stripping "noreturn"
1021510215 /// or "noexcept", or by stripping "noescape" for arguments).
You can’t perform that action at this time.
0 commit comments