Current implementation suggests to add [[nodiscard]] to methods even if the return type is marked already as [[nodiscard]]:
Try this:
struct [[nodiscard]] S{}; class C{ S method() const; --> suggests adding [[nodiscard]] };
This small diff fixes this incorrect behaviour.
This is my first timid try to contribute to open source, so please help me with this piece of code. Maybe there are better ways.