[all-commits] [llvm/llvm-project] 835175: [clang-tidy] Fix false positives in `readability-r...
Björn Svensson via All-commits
all-commits at lists.llvm.org
Fri Jun 27 23:10:56 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8351752dbc405a44ebcb267f97c7f643e1a78544
https://github.com/llvm/llvm-project/commit/8351752dbc405a44ebcb267f97c7f643e1a78544
Author: Björn Svensson <bjorn.a.svensson at est.tech>
Date: 2025-06-28 (Sat, 28 Jun 2025)
Changed paths:
M clang-tools-extra/clang-tidy/readability/RedundantInlineSpecifierCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-inline-specifier.cpp
Log Message:
-----------
[clang-tidy] Fix false positives in `readability-redundant-inline-specifier` (#135391)
The out-of-line explicitly-defaulted definition is not the first
declaration, so it is not implicitly inline.
Alt. reference:
9.5.2 (3) Explicitly-defaulted functions in
[N4950](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/n4950.pdf).
or https://timsong-cpp.github.io/cppwp/n4861/dcl.fct.def.default#3
Fixes #130745
---------
Signed-off-by: Björn Svensson <bjorn.a.svensson at est.tech>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list