Craig Topper
45857d4b58
Make a bunch of static arrays const.
...
llvm-svn: 250641
2015-10-18 05:14:41 +00:00
Aaron Ballman
17b6feef69
Expose the clang-tidy misc-assign-operator-signature checker as cppcoreguidelines-c-copy-assignment-signature.
...
llvm-svn: 250165
2015-10-13 15:24:33 +00:00
Aaron Ballman
b9ea09c445
Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang.
...
llvm-svn: 247886
2015-09-17 13:31:25 +00:00
Aaron Ballman
a96b33b1b1
Using an early return as it is more clear; NFC.
...
llvm-svn: 246444
2015-08-31 14:23:21 +00:00
Aaron Ballman
327e97bb37
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.
...
llvm-svn: 246318
2015-08-28 19:27:19 +00:00
Alexander Kornienko
2b312420aa
[clang-tidy] Refactor: Move misc clang-tidy checks to namespace clang::tidy::misc
...
clang-tidy checks are organized into modules. This refactoring moves the misc
module checks into the namespace clang::tidy::misc
http://reviews.llvm.org/D7996
Patch by Richard Thomson!
llvm-svn: 230950
2015-03-02 12:25:03 +00:00
Samuel Benzaquen
b5cbe0100f
Verify assign operator signatures.
...
Summary: Warn when the return type of assign operators is not Class&.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6667
llvm-svn: 228583
2015-02-09 17:50:40 +00:00