[cfe-dev] [clang-tidy] memory safe C++ subset

David Chisnall via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 27 09:11:30 PST 2017


On 27 Jan 2017, at 16:48, Noah L via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> As far as I know, this solution provides a degree of memory safety and performance not previously available to C/C++ developers. The next closest option would probably be building with the sanitizers turned on. While that's a more convenient solution, the results are inferior both in terms of safety and performance [3]. I'm kind of trying to sell it here because I'm hoping someone here will be convinced enough to go ahead and start implementing the checks (to identify instances of potentially unsafe elements). While I would be ready to contribute to the effort, I'm not sure I have the spare cycles (or expertise) to do it myself.

Did you look at the C++ Core Guidelines and the Guidelines Support Library?  These have similar goals to yours and are heading towards being official parts of the C++ standard.

David




More information about the cfe-dev mailing list