================ @@ -0,0 +1,35 @@ +.. title:: clang-tidy - readability-redundant-inline-specifier + +readability-redundant-inline-specifier +====================================== + +Checks for instances of the `inline` keyword in code where it is redundant +and recommends its removal. + +Examples: + +.. code-block:: c++ + + constexpr inline void f() {} + +In the example abvove the keyword `inline` is redundant since constexpr +functions are implicitly inlined ---------------- bjosv wrote:
```suggestion In the example above the keyword `inline` is redundant since constexpr functions are implicitly inlined. ``` https://github.com/llvm/llvm-project/pull/73069 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits