[cfe-dev] [clang-tidy] new checker to find/replace throw() with noexcept

Jonathan Coe via cfe-dev cfe-dev at lists.llvm.org
Sun Mar 27 09:31:28 PDT 2016


This sounds like a good idea, I presume it would go into 'modernise'

Just out of curiosity, how would it differ from a crude textual
search-and-replace?

Jon

On 26 March 2016 at 21:47, don hinton via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> I needed to replace a bunch of "throw()" specifiers with a macro, so I
> wrote a clang-tidy checker to do it for me.
>
> The new checker that will find and replace "throw()" specifiers in
> function declarations with either "noexcept" or a macro of your choice.
>
> Please let me know if this is something you'd like in clang-tidy, and I'll
> clean it up and submit a patch.
>
> thanks...
> don
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160327/2f1626df/attachment-0001.html>


More information about the cfe-dev mailing list