llvm-project
fb1de34e - [Clang][Sema] Warn on a function reference compared/converted to null (#204944)

Commit
82 days ago
[Clang][Sema] Warn on a function reference compared/converted to null (#204944) Look through a reference-to-function in `DiagnoseAlwaysNonNullPointer` so `-Wtautological-pointer-compare` and `-Wpointer-bool-conversion` fire for it, as they already do for a bare function name. Fixes #46362
Author
Parents
Loading