[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 13:05:57 PDT 2016
That's a good enough argument to convince me.
I look forward to seeing your patch.
> On 27 Mar 2016, at 21:02, don hinton <hintonda at gmail.com> wrote:
> Guess I'm just lazy.
> If I used a crude tool, I'd have to keep track of context myself, e.g., am I in a comment or not. A bit too tedious and error prone for me, especially for large projects with lots of files.
> sent via phone...
>> On Mar 27, 2016 12:31 PM, "Jonathan Coe" <jbcoe at me.com> wrote:
>> 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?
>>> 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.
>>> cfe-dev mailing list
>>> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev