HomePhabricator

[clang-tidy] New check bugprone-unused-return-value

Description

[clang-tidy] New check bugprone-unused-return-value

Summary:
Detects function calls where the return value is unused.

Checked functions can be configured.

Reviewers: alexfh, aaron.ballman, ilya-biryukov, hokein

Reviewed By: alexfh, aaron.ballman

Subscribers: hintonda, JonasToth, Eugene.Zelenko, mgorny, xazax.hun, cfe-commits

Tags: #clang-tools-extra

Patch by Kalle Huttunen!

Differential Revision: https://reviews.llvm.org/D41655

Details

Committed
alexfhMar 19 2018, 6:02 AM
Reviewer
alexfh
Differential Revision
D41655: [clang-tidy] New check bugprone-unused-return-value
Parents
rL327832: HexagonISelLowering.cpp: fix 'enum in bool context' warning
Branches
Unknown
Tags
Unknown