<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang-tools-extra/test/clang-tidy, 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-02-12T12:50:19+00:00</updated>
<entry>
<title>[clang-tidy] Added check to disable bugprone-infinite-loop on known false condition</title>
<updated>2020-02-12T12:50:19+00:00</updated>
<author>
<name>Nathan James</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2020-02-11T19:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7a136d2768e26b30273f208fb3d64eae531c8455'/>
<id>urn:sha1:7a136d2768e26b30273f208fb3d64eae531c8455</id>
<content type='text'>
Summary: Addresses [[ https://bugs.llvm.org/show_bug.cgi?id=44816 | bugprone-infinite-loop false positive with CATCH2 ]] by disabling the check on loops where the condition is known to always eval as false, in other words not a loop.

Reviewers: aaron.ballman, alexfh, hokein, gribozavr2, JonasToth

Reviewed By: gribozavr2

Subscribers: xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D74374

(cherry picked from commit c69ec6476806147e46bf09b693acb24177982dc2)
</content>
</entry>
<entry>
<title>[clang-tidy] Fix false positive for cppcoreguidelines-init-variables</title>
<updated>2020-02-10T13:17:54+00:00</updated>
<author>
<name>Nathan James</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2020-02-02T21:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=84cda4cceabdfec4f130bfafe7bbd050aa65b2ec'/>
<id>urn:sha1:84cda4cceabdfec4f130bfafe7bbd050aa65b2ec</id>
<content type='text'>
Summary: Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44746 | False positive for cppcoreguidelines-init-variables in range based for loop in template function ]]

Reviewers: aaron.ballman, alexfh, hokein, JonasToth, gribozavr2

Reviewed By: aaron.ballman

Subscribers: merge_guards_bot, xazax.hun, wuzish, nemanjai, kbarton, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D73843

(cherry picked from commit efcd09cea9a51c522954aa24e4b5513266daf6c3)
</content>
</entry>
<entry>
<title>[clang-tidy] Fixed crash 44745 in readability-else-after-return</title>
<updated>2020-02-03T15:09:12+00:00</updated>
<author>
<name>Nathan James</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2020-02-02T14:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7ad47b46b55fe33bc763411ae7b8bcca5a63d8dc'/>
<id>urn:sha1:7ad47b46b55fe33bc763411ae7b8bcca5a63d8dc</id>
<content type='text'>
Summary: Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44745 | readability-else-after-return crashes ]]

Reviewers: aaron.ballman, alexfh, hokein, JonasToth, gribozavr2

Reviewed By: alexfh

Subscribers: merge_guards_bot, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D73841

(cherry picked from commit d591bdce6d623208d4aeb335a762d839f0f8f0f7)
</content>
</entry>
<entry>
<title>[clan-tidy] Fix false positive in bugprone-infinite-loop</title>
<updated>2020-01-29T20:59:00+00:00</updated>
<author>
<name>Adam Balogh</name>
<email>adam.balogh@ericsson.com</email>
</author>
<published>2020-01-23T14:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d275de35f8bdb92e7b5789ebdb96df99fab504ab'/>
<id>urn:sha1:d275de35f8bdb92e7b5789ebdb96df99fab504ab</id>
<content type='text'>
The checker bugprone-infinite-loop does not track changes of
variables in the initialization expression of a variable
declared inside the condition of the while statement. This
leads to false positives, similarly to the one in the bug
report https://bugs.llvm.org/show_bug.cgi?id=44618. This
patch fixes this issue by enabling tracking of the variables
of this expression as well.

Differential Revision: https://reviews.llvm.org/D73270

(cherry picked from commit 70f4c6e7b14f225f9628fbdab3620ce037613351)
</content>
</entry>
<entry>
<title>[clang-tidy] Disable Checks on If constexpr statements in template Instantiations for BugproneBranchClone and ReadabilityBracesAroundStatements</title>
<updated>2020-01-22T23:57:56+00:00</updated>
<author>
<name>Nathan</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2019-12-31T09:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1f98c2b586e4ebce68d75856699059663a052cb7'/>
<id>urn:sha1:1f98c2b586e4ebce68d75856699059663a052cb7</id>
<content type='text'>
Summary: fixes [[ https://bugs.llvm.org/show_bug.cgi?id=32203 | readability-braces-around-statements broken for if constexpr]] and [[ https://bugs.llvm.org/show_bug.cgi?id=44229 | bugprone-branch-clone false positive with template functions and constexpr ]] by disabling the relevant checks on if constexpr statements while inside an instantiated template. This is due to how the else branch of an if constexpr statement is folded away to a null statement if the condition evaluates to false

Reviewers: alexfh, hokein, aaron.ballman, xazax.hun

Reviewed By: aaron.ballman, xazax.hun

Subscribers: rnkovacs, JonasToth, Jim, lebedev.ri, xazax.hun, cfe-commits

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D71980

(cherry picked from commit f9c46229e4ac29053747c96e08c574c6c48d544b)
</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] Match InitListExpr in modernize-use-default-member-init</title>
<updated>2020-01-14T15:19:37+00:00</updated>
<author>
<name>Malcolm Parsons</name>
<email>malcolm.parsons@gmail.com</email>
</author>
<published>2020-01-14T15:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9738c757bd9bc2fdca935f2b4e356f1d5e5f3682'/>
<id>urn:sha1:9738c757bd9bc2fdca935f2b4e356f1d5e5f3682</id>
<content type='text'>
Summary:
modernize-use-default-member-init wasn't warning about redundant initialisers
when the initialiser was an InitListExpr.  Add initListExpr to the matcher.

Fixes: PR44439

Reviewers: aaron.ballman, alexfh, JonasToth

Reviewed By: aaron.ballman

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72691
</content>
</entry>
<entry>
<title>[clang-tidy] Ignore implicit casts in modernize-use-default-member-init</title>
<updated>2020-01-14T10:05:12+00:00</updated>
<author>
<name>Malcolm Parsons</name>
<email>malcolm.parsons@gmail.com</email>
</author>
<published>2020-01-14T09:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=45924eb4671692b3fa9fd52fe39c81ec0647a848'/>
<id>urn:sha1:45924eb4671692b3fa9fd52fe39c81ec0647a848</id>
<content type='text'>
Summary:
Initialising a pointer from nullptr involves an implicit cast.
Ignore it after getting initialiser from InitListExpr.

Fixes: PR44440

Reviewers: aaron.ballman, alexfh, JonasToth

Reviewed By: JonasToth

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72630
</content>
</entry>
<entry>
<title>Fix a test case by adding -fno-delayed-template-parsing.</title>
<updated>2020-01-13T21:02:31+00:00</updated>
<author>
<name>Aaron Ballman</name>
<email>aaron@aaronballman.com</email>
</author>
<published>2020-01-13T21:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c1b13a1b17719aebace1b3be7a6ac7f90b1901a6'/>
<id>urn:sha1:c1b13a1b17719aebace1b3be7a6ac7f90b1901a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix readability-identifier-naming missing member variables</title>
<updated>2020-01-13T18:28:55+00:00</updated>
<author>
<name>Nathan James</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2020-01-13T18:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=fb79ef524171c96a9f3df025ac7a8a3e00fdc0b4'/>
<id>urn:sha1:fb79ef524171c96a9f3df025ac7a8a3e00fdc0b4</id>
<content type='text'>
Fixes PR41122 (missing fixes for member variables in a destructor) and
PR29005 (does not rename class members in all locations).
</content>
</entry>
</feed>
