<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylU02PmzAQ_TXmYgWBzUc4cNgmm1Pb094jGw_ErRcj2yTK_vqOSaJlV6tKVaWxGTQzz4_3jLTq2pIqu0e2J9kTYVyPnZkVUMJ30lofCDsIM1inw-kVcx-cHgdMOiO8173uRNB2TE_TRPjzP6P4yejwl-F749fFM3TBuvfisp-tVjRAPHJLWENJ_e1WoFTMwdIbIo7vMVWEP2HcT8FOxgSVuJN6T_hXg8dJuOA_jj947D4DIrOFxArqpsatKX47NqyBCdvRhzi7dbP2RzFej7ZfEBmNHBF4hR0p35KPng4wghOoCBW0F8YDRevGYSNGYa5v4DbdZGYfV_oTLnswEOA7iN9-reophMlHJuyAMVglrQmpddHDN1w_1PML8AJeEtVy1fBGJCjaybrWgVIX4fqqSWZn2k9AeB9mmXY2Xgpjzo_HZnL2F6qKr9r7GVCXQ8nzsk5ObdFvmQK53XLZ5GVTyBp6yRjrql6BqvvECAnGt6SMdo5woQtEFKzcJ__PQLcsYyzLc5YXjBV5WlVdU3IFVZdzqbKcFBm8Cm3SiBM1Sly7QMp58Fg02gf_Xoy_0TACLISRYdDBQLt4RB8eIV16WLybrNdBnyFZWLULpT9bNCxv>53157</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang analyzer: False positive
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
reddwarf69
</td>
</tr>
</table>
<pre>
```
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <string>
#include <vector>
void test() {
auto string = std::string{"a b"};
auto string_parts = std::vector<std::string>();
boost::split(string_parts, string, boost::is_any_of(" "));
}
```
generates a false clang-analyzer-cplusplus.NewDeleteLeaks
https://godbolt.org/z/MdETe34eT
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU8FuozAQ_RpzsYLADqQcOLRJc9rdU--RjQfw1sXINonSr98xJCqtqkor2WbQzLx5fjOWVl1rUma3lR1I9kgY10NjJgWU8L201gfCjsJ01unQv6Htg9NDh0ZjhPe61Y0I2g5pP46EP_83ih-NDj8k3wK_d56hCdZ9OOfzbLWiAWLJB8IqSnZPi4NSMQVLF0RMP6CpCH_EdauCkYwJKvEkuwPh3yWeRuGC_5x-57H_CojMZhIrqEWNJSjeHQPWwITt6V2c_TpY-5MYrifbzoiMRo4IvMKOlBfjc087GMAJVIQK2grjgWLrhm4jBmGu7-A2zWgmH3f6By4HMBDgF4hXv1a1D2H0kQk74uqsktaE1LrYw3fcv9XzC_AtvCSq5qrilUiCDgbquRa910IEepw5jNbroM-QTM7UX9BxSCaZNjZOijHn-2czOvsXpcZf7f0EKNax4HmxS_paNJLJLctarh6qghUVK5WURZtzaFWpssQICcbXpIg9HuBCZ4ioYnFIdM0yxrI8Z_mWsW2elmVTFVxB2eRcqiwn2wzehDZp5BGvnbh6piSnzqPTaB_8hzO-jG4AmMshPs5Pb13tQKmLcG1ZJXP1emb_D2KSFrE">