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
ec3e5d6fd8
Disable clang-tidy Google 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: 246663
2015-09-02 16:20:42 +00:00
Alexander Kornienko
ed824e0e4b
[clang-tidy] Refactor: Move google clang-tidy checks to namespace clang::tidy::google
...
http://reviews.llvm.org/D7994
Patch by Richard Thomson!
llvm-svn: 231364
2015-03-05 13:46:14 +00:00
Chandler Carruth
3cbd71c03b
[cleanup] Re-sort the #include lines with llvm/utils/sort_includes.py
...
No functionality changed, this is just a mechanical cleanup to keep the
order of #include lines consistent across the project.
llvm-svn: 225976
2015-01-14 11:24:38 +00:00
Benjamin Kramer
b7f59d6bbd
[clang-tidy] Use new ASTMatchers to identify template instantiations instead of copying it everywhere.
...
No intended functionality change.
llvm-svn: 217035
2014-09-03 13:21:51 +00:00
Benjamin Kramer
b1039759fb
[clang-tidy] Add a checker that warns on const string & members.
...
Summary:
Those are considered unsafe and should be replaced with simple pointers or
full copies. It recognizes both std::string and ::string.
Reviewers: alexfh, djasper
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4522
llvm-svn: 213133
2014-07-16 10:00:14 +00:00