Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [clang-tidy] rename_check.py misc-string-constructor bugprone-string-constructor | Alexander Kornienko | 2017-11-23 | 1 | -39/+0 |
| | | | | | | | | | | | | | | | | Summary: Rename misc-string-constructor to bugprone-string-constructor + manually update the lenght of '==='s in the doc file. Reviewers: hokein, xazax.hun Reviewed By: hokein, xazax.hun Subscribers: mgorny, xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D40388 llvm-svn: 318916 | ||||
* | [Clang-tidy] Fix Clang warning in misc/StringConstructorCheck.h. | Eugene Zelenko | 2016-04-22 | 1 | -1/+1 |
| | | | | | | Using LLVM_ENABLE_WARNINGS=ON is good idea. llvm-svn: 267228 | ||||
* | [clang-tidy] New checker to detect suspicious string constructor. | Etienne Bergeron | 2016-04-21 | 1 | -0/+39 |
Summary: Checker to validate string constructor parameters. A common mistake is to swap parameter for the fill-constructor. ``` std::string str('x', 4); std::string str('4', x); ``` Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19146 llvm-svn: 267011 |