<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/130137>130137</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] "boost-use-to-string" does not provide diagnostic for a boolean argument
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          denzor200
      </td>
    </tr>
</table>

<pre>
    ```
std::cout << boost::lexical_cast<std::string>(100) << std::endl; // OK - clang tidy provides warnings for that
std::cout << boost::lexical_cast<std::string>(true) << std::endl; // BAD - silence
```
Look at this snippet to play: https://godbolt.org/z/qaGa3c5nj

Unlike replace of floating points it would never change the behavior([proof](https://godbolt.org/z/YrK1q3P8Y)), thus I don't understand why clang-tidy still doesn't suggest to convert `bool` via `std::to_string` function.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysU82O2zYQfprRZWCDIiVZPujg3a2LIgXaSw85BZQ4lphwOQo58tZ5-kJaZ7PopT0EICBoMDP4_sbm7MdI1EH9APVTYReZOHWO4jdOWqmiZ3froFH3p05ZHJgTmNPAiyCYRzCP2DNneS0H-tsPNnwa7Fp5fGvPknwcwfwCui2VAn38PvzWQtEFMA8I-gz6jH98wB0OwcYRxbsbzomv3lHGF5uij2PGCyeUycpPgiVpof-B6-H0hDvMPlAcCNTpvTq_M39BKyiTz5ijn2cSFMY52BuYE04ic163bqtGdj0H2XMaQZ-_gT5_tb9aM9Tx87pXnf6KwX8hTDQHOxDyBS-Brfg44sw-SkYv-MJLcBjpSgmHycaRUCbCniZ79ZxAt1A_zIn5AvUT6Pa_MHxMH8qv5s_2I-jj9h5RpiXjb-g4gj4ILtFRymKjw5fp9urRbvMoiw8BHVN-7czLOFLeJBg4XikJQqN65gCNwqu36--b0MKf7n40Ci9LHMRz3BeuM-5ojragrjxUpT4cTdUWU1fS0FeNIXU56qO9HNqj0qpuWqf6qrGqLXynla6VUU3ZVFq3e1vWl6F3qmmryqiqgkrRs_VhH8L1eZWg8Dkv1JVGleZQBNtTyNttaP2DJWi93krq1qldv4wZKhV8lvxjj3gJ21W9G6ufELTeQrlbMu2Ed3e6Wm-aYWT5HnN03o6Rs_hhy7ld0xzIRrRpXJ4pSrGk0P3LTC_T0u8HfgZ9XrHcP7s58WcaBPR5I5hBn-8cr53-JwAA__9Gt0Q3">