[clang-tools-extra] [clang] [clang-tidy] Added new check to detect redundant inline keyword (PR #73069)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 9 15:24:13 PST 2023


=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/73069 at github.com>


https://github.com/PiotrZSL commented:

Code looks fine (except comments), main concern is if this isn't to strict, simply if someone remove some of those inline keywords, won't it decrease performance of code.

Please add verification, to ignore any functions with attributes, mainly always_inline, never_inline but to simplify all could be ignored.

https://github.com/llvm/llvm-project/pull/73069


More information about the cfe-commits mailing list