<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang-tools-extra/clang-tidy/tool, 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>2019-11-28T04:50:35+00:00</updated>
<entry>
<title>Use InitLLVM in clang-tidy</title>
<updated>2019-11-28T04:50:35+00:00</updated>
<author>
<name>Rui Ueyama</name>
<email>ruiu@google.com</email>
</author>
<published>2019-11-28T04:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a7acba29c19ac67c77ed282ec9432602ae21268d'/>
<id>urn:sha1:a7acba29c19ac67c77ed282ec9432602ae21268d</id>
<content type='text'>
Update clang-tidy to use InitLLVM, like several other llvm tools that
were previously updated. On Windows, this allows clang-tidy to operate
on arguments containing characters which cannot be represented in the
system's ANSI code page such as filenames with Unicode characters.

Fixes bugzilla bug 43751.

Patch by Tristan Labelle.

Differential Revision: https://reviews.llvm.org/D70694
</content>
</entry>
<entry>
<title>Revert "Use InitLLVM to setup a pretty stack printer"</title>
<updated>2019-11-26T02:06:56+00:00</updated>
<author>
<name>Nico Weber</name>
<email>thakis@chromium.org</email>
</author>
<published>2019-11-26T02:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6f773205cd05e47912096d7c4091f03c28255ab2'/>
<id>urn:sha1:6f773205cd05e47912096d7c4091f03c28255ab2</id>
<content type='text'>
This reverts commit 3f76260dc0674cc0acb25f550a0f0c594cf537ea.
Breaks at least these tests on Windows:
    Clang :: Driver/clang-offload-bundler.c
    Clang :: Driver/clang-offload-wrapper.c
</content>
</entry>
<entry>
<title>Use InitLLVM to setup a pretty stack printer</title>
<updated>2019-11-26T01:56:10+00:00</updated>
<author>
<name>Rui Ueyama</name>
<email>ruiu@google.com</email>
</author>
<published>2019-11-26T01:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3f76260dc0674cc0acb25f550a0f0c594cf537ea'/>
<id>urn:sha1:3f76260dc0674cc0acb25f550a0f0c594cf537ea</id>
<content type='text'>
InitLLVM does not only save a few lines from main() but also makes the
commands do the right thing for multibyte character pathnames on
Windows (i.e. canonicalize argv's to UTF-8) because of the code we
have in this file:

https://github.com/llvm/llvm-project/blob/master/llvm/lib/Support/InitLLVM.cpp#L32

For many LLVM commands, we already have calls of InitLLVM, but there
are still remainings.

Differential Revision: https://reviews.llvm.org/D70702
</content>
</entry>
<entry>
<title>[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible</title>
<updated>2019-10-04T20:30:02+00:00</updated>
<author>
<name>Michal Gorny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2019-10-04T20:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0820041e1daa158f39ab2e414d03c7eb2d1260d7'/>
<id>urn:sha1:0820041e1daa158f39ab2e414d03c7eb2d1260d7</id>
<content type='text'>
Use clang_target_link_libraries() in order to support linking against
libclang-cpp instead of static libraries.

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

llvm-svn: 373786
</content>
</entry>
<entry>
<title>clang-tidy: Don't repeat list of all checks in three places.</title>
<updated>2019-09-27T12:56:14+00:00</updated>
<author>
<name>Nico Weber</name>
<email>nicolasweber@gmx.de</email>
</author>
<published>2019-09-27T12:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d69fa737fff31a3d5d11d56117c20ca9794bb2a4'/>
<id>urn:sha1:d69fa737fff31a3d5d11d56117c20ca9794bb2a4</id>
<content type='text'>
Instead, put all checks in a cmake variable and reference this.

Also, make clangd use the the ClangTidyForceLinker.h header instead
of duplicating the list of modules -- the duplicate copy was missing
the new "darwin" checker added in r373065.

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

llvm-svn: 373082
</content>
</entry>
<entry>
<title>[clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage.</title>
<updated>2019-09-27T10:49:12+00:00</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2019-09-27T10:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=405c3a6be1718e191efdc7dd65b38c9d81bd987b'/>
<id>urn:sha1:405c3a6be1718e191efdc7dd65b38c9d81bd987b</id>
<content type='text'>
Summary:
Creates a new darwin ClangTidy module and adds the darwin-dispatch-once-nonstatic check that warns about dispatch_once_t variables not in static or global storage. This catches a missing static for local variables in e.g. singleton initialization behavior, and also warns on storing dispatch_once_t values in Objective-C instance variables. C/C++ struct/class instances may potentially live in static/global storage, and are ignored for this check.

The osx.API static analysis checker can find the non-static storage use of dispatch_once_t; I thought it useful to also catch this issue in clang-tidy when possible.

This is a re-land of https://reviews.llvm.org/D67567

Reviewers: thakis, gribozavr, stephanemoore

Subscribers: Eugene.Zelenko, mgorny, xazax.hun, jkorous, arphaman, kadircet, usaxena95

Tags: #clang-tools-extra, #clang, #llvm

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

llvm-svn: 373065
</content>
</entry>
<entry>
<title>Revert "[clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage"</title>
<updated>2019-09-26T23:28:31+00:00</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2019-09-26T23:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=847f4d3f6d7ed5b76cdbb9ca6e4e3ea9b193edde'/>
<id>urn:sha1:847f4d3f6d7ed5b76cdbb9ca6e4e3ea9b193edde</id>
<content type='text'>
This reverts commit r373028, because the new test fails on Linux.

llvm-svn: 373032
</content>
</entry>
<entry>
<title>[clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage</title>
<updated>2019-09-26T23:04:59+00:00</updated>
<author>
<name>Stephane Moore</name>
<email>mog@google.com</email>
</author>
<published>2019-09-26T23:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=aa7d6544c14ce5aa3644a5a07999953c6bc552dc'/>
<id>urn:sha1:aa7d6544c14ce5aa3644a5a07999953c6bc552dc</id>
<content type='text'>
Summary:
Creates a new darwin ClangTidy module and adds the darwin-dispatch-once-nonstatic check that warns about dispatch_once_t variables not in static or global storage. This catches a missing static for local variables in e.g. singleton initialization behavior, and also warns on storing dispatch_once_t values in Objective-C instance variables. C/C++ struct/class instances may potentially live in static/global storage, and are ignored for this check.

The osx.API static analysis checker can find the non-static storage use of dispatch_once_t; I thought it useful to also catch this issue in clang-tidy when possible.

Contributed By: mwyman

Reviewers: benhamilton, hokein, stephanemoore, aaron.ballman, gribozavr

Reviewed By: stephanemoore, gribozavr

Subscribers: jkorous, arphaman, kadircet, usaxena95, NoQ, xazax.hun, lebedev.ri, mgorny, cfe-commits

Tags: #clang, #clang-tools-extra

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

llvm-svn: 373028
</content>
</entry>
<entry>
<title>Moved GlobList into a separate header file</title>
<updated>2019-08-26T15:44:32+00:00</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2019-08-26T15:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a6fed93f0d1077f24e83fcd8abd31443acaf80e6'/>
<id>urn:sha1:a6fed93f0d1077f24e83fcd8abd31443acaf80e6</id>
<content type='text'>
Summary:
It is a separate abstraction that is used in more contexts than just
a helper for ClangTidyDiagnosticConsumer.

Subscribers: mgorny, cfe-commits

Tags: #clang

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

llvm-svn: 369918
</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>
</feed>
