[clang] [Sema] Warning for _Float16 passed to format specifier '%f' (PR #74439)

Haocong Lu via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 22:33:27 PST 2024


Luhaocong wrote:

> LGTM.
> 
> The format diagnostics are new in Clang 18 and as such we do not need a release note. Correct?

This format diagnostics is existent until https://github.com/llvm/llvm-project/commit/04e6178ae932c9a1d939dcfe3ef1189f4bbb21aa had been committed. Clang 17.0.1 gives a warning: https://godbolt.org/z/xMdK9cETY.


https://github.com/llvm/llvm-project/pull/74439


More information about the cfe-commits mailing list