[cfe-dev] New LibTooling based tool to check identifier case

Beren Minor beren.minor at gmail.com
Mon Jun 29 01:27:34 PDT 2015


Hi,

I have finally implemented the same checker as a clang-tidy check if anyone
is interested. The patch is attached.

Cheers,
--
Beren Minor

On Mon, Jun 22, 2015 at 7:01 PM, Beren Minor <beren.minor at gmail.com> wrote:

> No particular reason except the lack of knowledge. I didn't know there was
> a tool that could be easily extended.
> Initially it was just a sample code to play with the LibTooling API
> without any prior knowledge, and it's still very simple.
>
> If the idea of such checks is popular, then I could happily offer to
> implement it as clang-tidy checks.
> --
> Beren Minor
>
> On Mon, Jun 22, 2015 at 6:43 PM, Meador Inge <meadori at gmail.com> wrote:
>
>> On Mon, Jun 22, 2015 at 11:14 AM, Manuel Klimek <klimek at google.com>
>> wrote:
>> > Any reason this is not done as clang-tidy check (which also supports
>> > fixits)?
>>
>> FWIW, I had a similar thought.  At first glance, that does seem to be
>> a better place for it.
>>
>> -- Meador
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150629/58ec01d8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-clang-tidy-Add-new-IdentifierCase-check.patch
Type: text/x-patch
Size: 40408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150629/58ec01d8/attachment.bin>


More information about the cfe-dev mailing list