[clang] Fix INF/NAN warning. (PR #80290)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 08:43:08 PST 2024


https://github.com/AaronBallman commented:

You should also add test coverage for `#if defined(INFINITY)` and `#elifndef NAN` to make sure we're catching the other forms of checking whether an identifier is a defined macro or not.

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


More information about the cfe-commits mailing list