summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unique_ptrify PPCallbacks ownership. Goes with clang r217474.Craig Topper2014-09-101-1/+2
| | | | llvm-svn: 217475
* [clang-tidy] Don't index past the end of a vector.Benjamin Kramer2014-08-081-1/+2
| | | | | | We actually want the end iterator so just replace it with iterator arithmetic. llvm-svn: 215195
* [clang-tidy] Implement the include order checker for LLVM.Benjamin Kramer2014-08-071-9/+130
| | | | | | | | | | There are still a couple of rough edges in here but it is working fine on LLVM and generates the same results as sort_includes.py if there are no blank lines involved. Differential Revision: http://reviews.llvm.org/D4741 llvm-svn: 215152
* Improved llvm-namespace-comment check.Alexander Kornienko2014-05-191-0/+44
Summary: Handle various forms of existing namespace closing comments, fix existing comments with wrong namespace name, ignore short namespaces. The state of this check now seems to be enough to enable it by default to gather user feedback ;) Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3825 llvm-svn: 209141
OpenPOWER on IntegriCloud