diff options
author | Jonas Toth <jonas.toth@gmail.com> | 2019-01-09 20:50:50 +0000 |
---|---|---|
committer | Jonas Toth <jonas.toth@gmail.com> | 2019-01-09 20:50:50 +0000 |
commit | ca8e20cdf76b5cc59159c315d35e6968f8879cb3 (patch) | |
tree | fb48861015f27e612d4d277edc2d5b637603c3cd /lldb/scripts/Python | |
parent | 67796064c76e921de8a5c07a25cecafc215d71e2 (diff) | |
download | llvm-ca8e20cdf76b5cc59159c315d35e6968f8879cb3.zip llvm-ca8e20cdf76b5cc59159c315d35e6968f8879cb3.tar.gz llvm-ca8e20cdf76b5cc59159c315d35e6968f8879cb3.tar.bz2 |
[clang-tidy] Adding a new modernize use nodiscard checker
Summary: Adds a checker to clang-tidy to warn when a non void const member function, taking only parameters passed by value or const reference could be marked as '[[nodiscard]]'
Patch by MyDeveloperDay.
Reviewers: alexfh, stephenkelly, curdeius, aaron.ballman, hokein, JonasToth
Reviewed By: curdeius, JonasToth
Subscribers: Eugene.Zelenko, lefticus, lebedev.ri, mgorny, xazax.hun, cfe-commits
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D55433
llvm-svn: 350760
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions