Alexander Kornienko
|
3f89bf0a1a
|
[clang-tidy] Switch to a more common way of customizing check behavior.
This should have been done this way from the start, however I somehow missed
r257177.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@270215 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-05-20 13:42:40 +00:00 |
Felix Berger
|
84f5259cbc
|
[clang-tidy] MoveConstructorInitCheck - Add parameter name to check message.
Reviewers: alexfh
Subscribers: aaron.ballman, cfe-commits
Differential Revision: http://reviews.llvm.org/D19849
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@268461 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-05-03 23:07:44 +00:00 |
Etienne Bergeron
|
197372cb87
|
[clang-tidy] Cleanup namespace in utils folder.
Summary:
This is a step forward cleaning up the namespaces in clang-tidy/utils.
There is no behavior change.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19819
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@268356 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-05-03 02:54:05 +00:00 |
Etienne Bergeron
|
c80718012e
|
[clang-tidy] Cleaning namespaces to be more consistant across checkers.
Summary:
The goal of the patch is to bring checkers in their appropriate namespace.
This path doesn't change any behavior.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19811
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@268264 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-05-02 18:00:29 +00:00 |
Aaron Ballman
|
e6f991f360
|
Disable part of the misc-move-constructor-init checker when the check is enabled through cert-oop11-cpp. The CERT guideline does not cover moveable parameters as part of the OOP11-CPP recommendation, just copy construction from move constructors.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@257177 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-01-08 15:50:51 +00:00 |
Aaron Ballman
|
5c40d3f5af
|
Improved the misc-move-constructor-init check to identify arguments that are passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit.
Patch by Felix Berger!
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@249429 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-10-06 16:27:03 +00:00 |
Aaron Ballman
|
61bf08cac6
|
Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@247886 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-09-17 13:31:25 +00:00 |
Aaron Ballman
|
be5160d5f2
|
Using an early return as it is more clear; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@246447 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-08-31 15:28:57 +00:00 |
Aaron Ballman
|
fbf0ffc607
|
Disable clang-tidy misc checkers when not compiling in C++ mode. Many of the checkers do not require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@246318 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-08-28 19:27:19 +00:00 |
Aaron Ballman
|
9116e194f2
|
Add a new clang-tidy check (misc-move-constructor-init) that diagnoses move constructor initializations that call copy constructors instead of move constructors.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@245571 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-08-20 15:52:52 +00:00 |