<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang-tools-extra/docs, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-03-16T10:51:51+00:00</updated>
<entry>
<title>Add new website to release notes.</title>
<updated>2020-03-16T10:51:51+00:00</updated>
<author>
<name>Sam McCall</name>
<email>sam.mccall@gmail.com</email>
</author>
<published>2020-03-16T10:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=39930d67fffb086cabd08bccdc26ca6ad99b3339'/>
<id>urn:sha1:39930d67fffb086cabd08bccdc26ca6ad99b3339</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ReleaseNotes: remove in-progress warnings, tidy up a bit</title>
<updated>2020-02-28T16:11:03+00:00</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@chromium.org</email>
</author>
<published>2020-02-28T16:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4c6e5899859651d5f0907fc4d5752e616c1598c3'/>
<id>urn:sha1:4c6e5899859651d5f0907fc4d5752e616c1598c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[docs] clangd release notes</title>
<updated>2020-02-25T14:49:43+00:00</updated>
<author>
<name>Sam McCall</name>
<email>sam.mccall@gmail.com</email>
</author>
<published>2020-02-25T14:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1f6c9becd57af14ee71fb7c1e56b55f556be98fa'/>
<id>urn:sha1:1f6c9becd57af14ee71fb7c1e56b55f556be98fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added readability-qualified-auto check</title>
<updated>2020-01-14T19:06:46+00:00</updated>
<author>
<name>Nathan James</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2020-01-14T19:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=36fcbb838c8f293f46bfed78c6ed8c177f1e3485'/>
<id>urn:sha1:36fcbb838c8f293f46bfed78c6ed8c177f1e3485</id>
<content type='text'>
Adds a check that detects any auto variables that are deduced to a pointer or
a const pointer then adds in the const and asterisk according. Will also
check auto L value references that could be written as const. This relates
to the coding standard
https://llvm.org/docs/CodingStandards.html#beware-unnecessary-copies-with-auto
</content>
</entry>
<entry>
<title>clang-tidy doc: unbreak the CI</title>
<updated>2020-01-10T21:25:01+00:00</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sylvestre@debian.org</email>
</author>
<published>2020-01-10T21:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=68cd283f3b074e3b64b9f65e93ceb2de6807c72d'/>
<id>urn:sha1:68cd283f3b074e3b64b9f65e93ceb2de6807c72d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clang-tidy doc: Refresh the list of checkers and polish the script</title>
<updated>2020-01-10T21:07:47+00:00</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sylvestre@debian.org</email>
</author>
<published>2020-01-10T17:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=faeeb71a17344171f814144213ac4fbc93be28fd'/>
<id>urn:sha1:faeeb71a17344171f814144213ac4fbc93be28fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restore order in clang-tidy section of release notes</title>
<updated>2020-01-10T08:19:58+00:00</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@chromium.org</email>
</author>
<published>2020-01-10T08:19:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=164da673009ba6c100ce45b6fa9a5dfd3b0b8e38'/>
<id>urn:sha1:164da673009ba6c100ce45b6fa9a5dfd3b0b8e38</id>
<content type='text'>
Major changes are introduction of subsubsections to prevent people
putting new entries in wrong places. I also polished line length and
highlighting.

Patch by Eugene Zelenko!
</content>
</entry>
<entry>
<title>clang-tidy doc - remove the widths</title>
<updated>2020-01-10T07:11:05+00:00</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sylvestre@debian.org</email>
</author>
<published>2020-01-10T07:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b38d0d5bdb353f8496a0fc38b9bbee419b41a321'/>
<id>urn:sha1:b38d0d5bdb353f8496a0fc38b9bbee419b41a321</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[clang-tidy] modernize-use-using uses AST and now supports struct defintions and multiple types in a typedef</title>
<updated>2020-01-07T21:36:11+00:00</updated>
<author>
<name>Mitchell Balan</name>
<email>mitchell@stellarscience.com</email>
</author>
<published>2020-01-07T18:49:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=73d93617d3ae23bad232fa3a160c638728c71c01'/>
<id>urn:sha1:73d93617d3ae23bad232fa3a160c638728c71c01</id>
<content type='text'>
Summary:
It now handles `typedef`s that include comma-separated multiple types, and handles embedded struct definitions, which previously could not be automatically converted.

For example, with this patch `modernize-use-using` now can convert:

typedef struct { int a; } R_t, *R_p;

to:

using R_t = struct { int a; };
using R_p = R_t*;

`-ast-dump` showed that the `CXXRecordDecl` definitions and multiple `TypedefDecl`s come consecutively in the tree, so `check()` stores information between calls to determine when it is receiving a second or additional `TypedefDecl` within a single `typedef`, or when the current `TypedefDecl` refers to an embedded `CXXRecordDecl` like a `struct`.

Reviewers: alexfh, aaron.ballman

Patch by: poelmanc

Subscribers: riccibruno, sammccall, cfe-commits, aaron.ballman

Tags: clang-tools-extra, clang

Differential Revision: https://reviews.llvm.org/D70270
</content>
</entry>
<entry>
<title>[clang-tidy] new check: bugprone-signed-char-misuse</title>
<updated>2020-01-06T17:21:26+00:00</updated>
<author>
<name>Tamás Zolnai</name>
<email>tamas.zolnai@collabora.com</email>
</author>
<published>2020-01-04T13:05:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=350da402ef6b8b2473ff74822e8267bf2716c661'/>
<id>urn:sha1:350da402ef6b8b2473ff74822e8267bf2716c661</id>
<content type='text'>
Summary:
This check searches for signed char -&gt; integer conversions which might
indicate programming error, because of the misinterpretation of char
values. A signed char might store the non-ASCII characters as negative
values. The human programmer probably expects that after an integer
conversion the converted value matches with the character code
(a value from [0..255]), however, the actual value is in
[-128..127] interval.

See also:
STR34-C. Cast characters to unsigned char before converting to larger integer sizes
&lt;https://wiki.sei.cmu.edu/confluence/display/c/STR34-C.+Cast+characters+to+unsigned+char+before+converting+to+larger+integer+sizes&gt;

By now this check is limited to assignment / variable declarations.
If we would catch all signed char -&gt; integer conversion, then it would
produce a lot of findings and also false positives. So I added only
this use case now, but this check can be extended with additional
use cases later.
The CERT documentation mentions another use case when the char is
used for array subscript. Next to that a third use case can be
the signed char - unsigned char comparison, which also a use case
where things happen unexpectedly because of conversion to integer.

Reviewers: alexfh, hokein, aaron.ballman

Reviewed By: aaron.ballman

Subscribers: sylvestre.ledru, whisperity, Eugene.Zelenko, mgorny, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D71174
</content>
</entry>
</feed>
