[cfe-dev] [clang-tidy] misc-string-integer-assignment
Aaron Ballman via cfe-dev
cfe-dev at lists.llvm.org
Tue Jan 12 10:30:46 PST 2016
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
>
More information about the cfe-dev
mailing list