summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/TodoCommentCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Refactor: Move google clang-tidy checks to namespace ↵Alexander Kornienko2015-03-051-0/+2
| | | | | | | | | | clang::tidy::google http://reviews.llvm.org/D7994 Patch by Richard Thomson! llvm-svn: 231364
* [clang-tidy] Allow space between "TODO" and "(user)"Alexander Kornienko2014-10-051-1/+1
| | | | llvm-svn: 219091
* Provide user name in ClangTidyOptions.Alexander Kornienko2014-09-241-11/+6
| | | | | | | | | | | | | | | | | | | Summary: This adds the ClangTidyOptions::User field and fills it from the USER or the USERNAME environment variable, if possible. The FileOptionsProvider now takes "default" options instead of "fallback" options, as it now uses these when an option is not set in the configuration file (one exception is the checks list). Reviewers: bkramer, klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5440 llvm-svn: 218402
* [clang-tidy] Don't leak the TodoCommentHandler objectHans Wennborg2014-09-181-4/+8
| | | | | | | | | | | Preprocessor:addCommentHandler() does not take ownership, so we'd end up leaking the TodoCommentHandler. This patch makes it owned by the Check object. Differential Revision: http://reviews.llvm.org/D5402 llvm-svn: 218068
* [clang-tidy] Add a checker that warns on TODO comments without username.Benjamin Kramer2014-09-181-0/+65
It also suggests a fix-it, taking the name from $USER. This will be made configurable eventually. Differential Revision: http://reviews.llvm.org/D5393 llvm-svn: 218049
OpenPOWER on IntegriCloud