diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-03-24 19:42:36 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-03-24 19:42:36 +0000 |
commit | cb7ce98486c3f6b6025130e95b71acd8c04d7b4d (patch) | |
tree | 7a83a96d6e78f7da24968de441464a972e952bc9 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 181fdbd174861a9001ec481a500221ea0f6a6b40 (diff) | |
download | bcm5719-llvm-cb7ce98486c3f6b6025130e95b71acd8c04d7b4d.tar.gz bcm5719-llvm-cb7ce98486c3f6b6025130e95b71acd8c04d7b4d.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions