<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130745>130745</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang-tidy: False positive readability-redundant-inline-specifier on out-of-line explicitly defaulted constructors
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Eisenwave
</td>
</tr>
</table>
<pre>
https://godbolt.org/z/Eqf1Er9M5
```cpp
struct awoo {
~awoo();
};
inline awoo::~awoo() = default;
```
```
<source>:5:1: warning: function '~awoo' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier]
5 | inline awoo::~awoo() = default;
| ^~~~~~
1 warning generated.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUUsuOozAQ_Jrm0iLyAwc4cGAm4bYfYWxDvHJs1jaZzR7m21dkmIfmtNtCom11dXeVS6ZkZ29MB-IJxKmQa76E2J1tMv5F3kwxBn3vLjkvCXgPbAA2zEGPweVDiDOw4Q-w4fxroufY_hBAejiSt08tC5A-5biqjPIlBIT6CUiPiPi6nYE1wFrg2yXUpz0hvfXOevOAbDN5_6UagZ9Qm0muLu-A93nfc_6cwhqVAX4G3gvgPQXe44uM3vp5S6fVq2yDR2D1PqPGi0y4b5AWo-xkTcRxzWgT2uvirLLZ3fcSjSCeopFajtbZfC-j0avX0ufyraD86AHitJMXCPUz_h9LfMSGA3F-3QJIT9_J4Gy8iTIbffiqQqE7rlveysJ0tK7osWmOVVNcOsXVRGkrKqXb5siVmqSouJjapiV1rZrCdowwQTillLCKNIdGK8ZITTVpGCVigoqYq7Tu4NztujmhsCmtpqOc1JUonByNSw9TMaac9HOZrb4DY5vJYrehynGdE1TE2ZTTZ59sszPd8yeG9zhIlwwuIdlsbwb_TXAMHsOayzCVD6XN74_H26U1GlXwbw4NMRVrdN-tbvNlHQ8qXIEN24r7r1xi-GlUBjY8eCdgw0791rG_AQAA___ulgrm">