[cfe-dev] [clang-tidy] new checker to find/replace throw() with noexcept
don hinton via cfe-dev
cfe-dev at lists.llvm.org
Sun Mar 27 13:02:45 PDT 2016
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
> On 26 March 2016 at 21:47, don hinton via cfe-dev <cfe-dev at lists.llvm.org>
>> 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