llvm-project/clang-tools-extra/test
Etienne Bergeron 1dbd582387 [clang-tidy] New checker to detect suspicious string constructor.
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
2016-04-21 17:28:08 +00:00
..
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:01:42 +00:00
clang-apply-replacements Handle newlines on Windows correctly. 2014-12-09 02:57:56 +00:00
clang-query Add a makefile for clang-query. Patch by Alex Horn! 2014-02-18 19:46:01 +00:00
clang-rename Make test EOL tolerant by moving the symbol ot the first line 2015-08-21 10:46:46 +00:00
clang-tidy [clang-tidy] New checker to detect suspicious string constructor. 2016-04-21 17:28:08 +00:00
modularize Fixed some cases in the modularize assistant mode where header file names didn't translate to valid module names. 2016-03-21 23:05:14 +00:00
pp-trace Update to match clang r236404. 2015-05-04 03:15:55 +00:00
.clang-format Add a .clang-format to avoid reflow of test RUN lines 2013-12-01 05:08:00 +00:00
CMakeLists.txt [clang-tidy] Add "clang-tidy as a clang plugin" skeleton. 2016-03-03 08:58:12 +00:00
lit.cfg Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893. 2016-02-25 16:59:59 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:01:42 +00:00