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

Manuel Klimek klimek at google.com
Mon Jun 22 09:14:11 PDT 2015


Any reason this is not done as clang-tidy check (which also supports
fixits)?

On Mon, Jun 22, 2015 at 6:31 AM Beren Minor <beren.minor at gmail.com> wrote:

> Hello there,
>
> Some time ago, I wrote a simple tool upon LibTooling to check that the
> identifiers used were conforming to a given set of rules.
>
> For the same reason people use code formatting guidelines, and tools to
> enforce them, people usually have guidelines regarding the casing of
> identifiers... but there are not many tools out there for that (or not that
> I knew of).
>
> I advertised it a little bit on reddit, people seemed interested and I had
> some contributions since then, so I thought I could talk about it here as
> well. Here is the link for the curious, feel free to comment here or there!
>
> https://github.com/berenm/swang/tree/swang/swang
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_berenm_swang_tree_swang_swang&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=T5OQvqWPtqS1Rp4ZclmhOybIm3a4mAZXuPSrQI9R7Vg&s=j3YQCF1FV7E-dp81WGdy4GEDhGmOENn5NnnWGZh4b0c&e=>
>
> Cheers,
> --
> Beren Minor
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150622/01b46655/attachment.html>


More information about the cfe-dev mailing list