hanchenye-llvm-project/clang-tools-extra/test
Etienne Bergeron cb7ce98486 [clang-tidy] Add support for different char-types for the readability-redundant-string-cstr checker.
Summary:
The current checker is able to recognize std::string but does not recognize other string variants.
This patch is adding the support for any string defined with basic_string without considering the
the underlying char type.

The most common variant is: 'std::wstring' based on 'wchar_t'.

There are also other string variants added to the standard: u16string, u32string, etc...

Reviewers: alexfh

Subscribers: mamai, dblaikie, cfe-commits

Differential Revision: http://reviews.llvm.org/D18412

llvm-svn: 264325
2016-03-24 19:42:36 +00:00
..
Unit clang-tools-extra/test/Unit/lit.site.cfg.in: Prune on_clone. I guess it has been unused since r188006. 2016-02-16 08:13:36 +00:00
clang-apply-replacements
clang-query
clang-rename
clang-tidy [clang-tidy] Add support for different char-types for the readability-redundant-string-cstr checker. 2016-03-24 19:42:36 +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
.clang-format
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