Benjamin Kramer
51a9cc9ce7
Apply performance-unnecessary-value-param to clang-tidy.
...
With minor manual tweaks. No functionality change intended.
llvm-svn: 272795
2016-06-15 15:46:10 +00:00
Samuel Benzaquen
1fb8bc7a30
[clang-tidy] Match the type against the get() method we are calling,
...
instead of a get() method we find in the class.
The duck typed smart pointer class could have overloaded get() methods
and we should only skip the one that matches.
llvm-svn: 261102
2016-02-17 16:13:14 +00:00
Alexander Kornienko
b1b2f87e37
[clang-tidy] Use proper capitalization and punctuation for diagnostic messages.
...
Use diagnostic parameters where possible instead of string concatenation.
llvm-svn: 257176
2016-01-08 15:21:40 +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
1f1b067036
Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers 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: 246661
2015-09-02 16:05:21 +00:00
Alexander Kornienko
1b677dbd44
[clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions
...
Classes are named WhateverCheck, files are WhateverCheck.cpp and`
WhateverCheck.h`
http://reviews.llvm.org/D8144
Patch by Richard Thomson!
llvm-svn: 231650
2015-03-09 12:18:39 +00:00