Relevant issue: https://github.com/llvm/llvm-project/issues/59517
Currently this check will warn when the result is used in a return
statement, e.g.
bool foobar() { std::vector<int> v; return v.empty(); // will get a warning here, which makes no sense IMO }
Please add additional cases similar to what's above (e.g. a case with absl::empty, an ADL-invoked case, etc.).