[cfe-dev] [clang-tidy] misc-string-integer-assignment

Piotr Padlewski via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 12 10:38:37 PST 2016


Oh I see what I did there - I was using git and I though that I was using
svn, and the output from svn update was kinda misleading.

2016-01-12 19:30 GMT+01:00 Aaron Ballman <aaron at aaronballman.com>:

> On Tue, Jan 12, 2016 at 1:27 PM, Piotr Padlewski via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> > Hi Kirill,
> > unfortunatelly, the version that I compiled yesterday doesn't have that
> (and
> > doesn't have that files).
>
> It's on the ToT, but perhaps you have source from an older release of
> Clang instead.
>
>
> http://llvm.org/svn/llvm-project/clang-tools-extra/trunk/clang-tidy/misc/StringIntegerAssignmentCheck.cpp
>
> IIRC, this was added in mid to late Dec 2015.
>
> ~Aaron
>
> >
> > Piotr
> >
> > 2016-01-12 9:14 GMT+01:00 Kirill Bobyrev via cfe-dev
> > <cfe-dev at lists.llvm.org>:
> >>
> >> Hi Piotr,
> >>
> >> There actually is such check.
> >>
> >> You can confirm there is such check via
> >> $ ./clang-tidy -checks=* -list-checks | grep
> >> 'misc-string-integer-assignment'
> >>
> >> Its code lives in
> >>
> llvm/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck{.cpp,
> >> .h}
> >>
> >> --
> >> Kirill Bobyrev
> >>
> >>
> >> On 1/12/2016 3:24 AM, Piotr Padlewski via cfe-dev wrote:
> >>
> >> Hi folks,
> >> I was wondering, why I can't find misc-string-integer-assignment check.
> It
> >> is in docs, but there is no check like this (and no code for it).
> >>
> >> Piotr
> >>
> >>
> >> _______________________________________________
> >> cfe-dev mailing list
> >> cfe-dev at lists.llvm.org
> >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >>
> >>
> >>
> >> _______________________________________________
> >> cfe-dev mailing list
> >> cfe-dev at lists.llvm.org
> >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> >>
> >
> >
> > _______________________________________________
> > 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/20160112/bc04b8a3/attachment.html>


More information about the cfe-dev mailing list