<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang-tools-extra/clang-tidy/llvm, 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-01-14T19:06:46+00:00</updated>
<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] Make llvm-header-guard work on llvm git monorepo</title>
<updated>2019-09-26T09:56:37+00:00</updated>
<author>
<name>Haojian Wu</name>
<email>hokein@google.com</email>
</author>
<published>2019-09-26T09:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0d808e50645703a5993e98f2422df28586547827'/>
<id>urn:sha1:0d808e50645703a5993e98f2422df28586547827</id>
<content type='text'>
Reviewers: gribozavr

Reviewed By: gribozavr

Subscribers: xazax.hun, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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

llvm-svn: 372953
</content>
</entry>
<entry>
<title>[clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy</title>
<updated>2019-08-30T20:01:59+00:00</updated>
<author>
<name>Daniel Sanders</name>
<email>daniel_l_sanders@apple.com</email>
</author>
<published>2019-08-30T20:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5b4f640499c12565b3f01c4687bb6fc30e01dc99'/>
<id>urn:sha1:5b4f640499c12565b3f01c4687bb6fc30e01dc99</id>
<content type='text'>
Summary:
This clang-tidy check is looking for unsigned integer variables whose initializer
starts with an implicit cast from llvm::Register and changes the type of the
variable to llvm::Register (dropping the llvm:: where possible).

Reviewers: arsenm, bogner

Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, mgorny, sbc100, jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton, fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, Jim, s.egerton, cfe-commits, llvm-commits

Tags: #clang, #llvm

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

llvm-svn: 370512
</content>
</entry>
<entry>
<title>Remove \brief commands from doxygen comments.</title>
<updated>2019-08-22T11:32:57+00:00</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2019-08-22T11:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=282dc72c8b84759dda4fe12420228158962351e8'/>
<id>urn:sha1:282dc72c8b84759dda4fe12420228158962351e8</id>
<content type='text'>
Summary:
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.

Patch produced by

  for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i &amp; done

[This is analogous to LLVM r331272 and CFE r331834]

Subscribers: srhines, nemanjai, javed.absar, kbarton, MaskRay, jkorous, arphaman, jfb, kadircet, jsji, cfe-commits

Tags: #clang

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

llvm-svn: 369643
</content>
</entry>
<entry>
<title>[clang-tools-extra] Migrate llvm::make_unique to std::make_unique</title>
<updated>2019-08-14T23:52:23+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-08-14T23:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1c705d9c538d1d4a24f34e93be2582bc7e3a3da4'/>
<id>urn:sha1:1c705d9c538d1d4a24f34e93be2582bc7e3a3da4</id>
<content type='text'>
Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances across the monorepo.

Differential revision: https://reviews.llvm.org/D66259

llvm-svn: 368944
</content>
</entry>
<entry>
<title>[clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check'</title>
<updated>2019-05-10T18:27:09+00:00</updated>
<author>
<name>Don Hinton</name>
<email>hintonda@gmail.com</email>
</author>
<published>2019-05-10T18:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b75e7eae17a56a42f6e23f0f11d331ef260a51fe'/>
<id>urn:sha1:b75e7eae17a56a42f6e23f0f11d331ef260a51fe</id>
<content type='text'>
Summary:
Change the namespace for llvm checkers from 'llvm' to
'llvm_check', and modify add_new_check.py and rename_check.py to
support the new namespace. Checker, file, and directory names remain
unchanged.

Used new version of rename_check.py to make the change in existing
llvm checkers, but had to fix LLVMTidyModule.cpp and
LLVMModuleTest.cpp by hand.

The changes made by rename_check.py are idempotent, so if accidentally
run multiple times, it won't do anything.

Reviewed By: aaron.ballman

Tags: #clang, #clang-tools-extra

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

llvm-svn: 360450
</content>
</entry>
<entry>
<title>[clang-tidy] Add new checker: llvm-prefer-isa-or-dyn-cast-in-conditionals</title>
<updated>2019-04-24T21:25:57+00:00</updated>
<author>
<name>Don Hinton</name>
<email>hintonda@gmail.com</email>
</author>
<published>2019-04-24T21:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=28413dd87aa21c72ab4d3e3f686647999eb59903'/>
<id>urn:sha1:28413dd87aa21c72ab4d3e3f686647999eb59903</id>
<content type='text'>
Summary:
Looks at conditionals and finds cases of ``cast&lt;&gt;``, which will
assert rather than return a null pointer, and ``dyn_cast&lt;&gt;`` where
the return value is not captured. Additionally, finds cases that
match the pattern ``var.foo() &amp;&amp; isa&lt;X&gt;(var.foo())``, where the
method is called twice and could be expensive.

.. code-block:: c++

  // Finds cases like these:
  if (auto x = cast&lt;X&gt;(y)) &lt;...&gt;
  if (cast&lt;X&gt;(y)) &lt;...&gt;

  // But not cases like these:
  if (auto f = cast&lt;Z&gt;(y)-&gt;foo()) &lt;...&gt;
  if (cast&lt;Z&gt;(y)-&gt;foo()) &lt;...&gt;

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

Reviewed By: aaron.ballman

Subscribers: xbolva00, Eugene.Zelenko, mgorny, xazax.hun, cfe-commits

Tags: #clang-tools-extra, #clang

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

llvm-svn: 359142
</content>
</entry>
<entry>
<title>[clang-tidy] Switch checks to #include "ClangTidyCheck.h"</title>
<updated>2019-03-25T12:38:26+00:00</updated>
<author>
<name>Alexander Kornienko</name>
<email>alexfh@google.com</email>
</author>
<published>2019-03-25T12:38:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=478fc5c83e93503be764e6ef5d6cd1560e66b82e'/>
<id>urn:sha1:478fc5c83e93503be764e6ef5d6cd1560e66b82e</id>
<content type='text'>
llvm-svn: 356892
</content>
</entry>
<entry>
<title>[clang-tidy] Move all checks to the new registerPPCallbacks API</title>
<updated>2019-03-22T18:58:12+00:00</updated>
<author>
<name>Alexander Kornienko</name>
<email>alexfh@google.com</email>
</author>
<published>2019-03-22T18:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b6c4db9981ce8f8a9cec1e8608664c17ca099796'/>
<id>urn:sha1:b6c4db9981ce8f8a9cec1e8608664c17ca099796</id>
<content type='text'>
llvm-svn: 356796
</content>
</entry>
<entry>
<title>Update the file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T08:50:56+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T08:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2946cd701067404b99c39fb29dc9c74bd7193eb3'/>
<id>urn:sha1:2946cd701067404b99c39fb29dc9c74bd7193eb3</id>
<content type='text'>
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351636
</content>
</entry>
</feed>
