<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Piotr,<br>
<br>
There actually is such check.<br>
<br>
You can confirm there is such check via<br>
$ ./clang-tidy -checks=* -list-checks | grep
'misc-string-integer-assignment'<br>
<br>
Its code lives in
llvm/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck{.cpp,
.h}<br>
<br>
--<br>
Kirill Bobyrev<br>
<br>
<div class="moz-cite-prefix">On 1/12/2016 3:24 AM, Piotr Padlewski
via cfe-dev wrote:<br>
</div>
<blockquote
cite="mid:CAEhrgAOjzh==BRPrnFQkWkr8y=sj-OO0PoWchiDy3GhbCVRf=w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi folks,
<div>I was wondering, why I can't find <a moz-do-not-send="true"
class=""
href="http://clang.llvm.org/extra/clang-tidy/checks/misc-string-integer-assignment.html"
style="line-height:1.3;font-family:'DejaVu
Sans',Arial,Helvetica,sans-serif;font-size:18px;font-weight:bold;text-decoration:none;color:rgb(137,38,1);background-color:transparent">misc-string-integer-assignment</a><span
style="line-height:1.3;color:rgb(51,51,51);font-family:'DejaVu
Sans',Arial,Helvetica,sans-serif;font-size:18px;background-color:transparent"> check.
It is in docs, but there is no check like this (and no code
for it).</span></div>
<div><span
style="line-height:1.3;color:rgb(51,51,51);font-family:'DejaVu
Sans',Arial,Helvetica,sans-serif;font-size:18px;background-color:transparent"><br>
</span></div>
<div><span
style="line-height:1.3;color:rgb(51,51,51);font-family:'DejaVu
Sans',Arial,Helvetica,sans-serif;font-size:18px;background-color:transparent">Piotr</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>