halbi2 2f237670b1
[Clang] [Sema] Enable nodiscard warnings for function pointers (#154250)
A call through a function pointer has no associated FunctionDecl, but it
still might have a nodiscard return type. Ensure there is a codepath to
emit the nodiscard warning in this case.

Fixes #142453
2025-08-20 14:14:35 +00:00
..
2025-03-29 20:54:15 +01:00
2025-04-10 20:40:43 +02:00

See llvm/docs/README.txt