diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-11-03 12:56:48 +0000 |
---|---|---|
committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-11-03 12:56:48 +0000 |
commit | 8b70e2631c6ab4259a4aa9e797c99132fb66e79b (patch) | |
tree | 2f6c75fc3c1c324c2d6f2def8d14a9c97e25279c /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h | |
parent | a705ab175d2b6b6ae0edb234b49a76fe6db38144 (diff) | |
download | bcm5719-llvm-8b70e2631c6ab4259a4aa9e797c99132fb66e79b.tar.gz bcm5719-llvm-8b70e2631c6ab4259a4aa9e797c99132fb66e79b.zip |
[clang-tidy] Handle data() in readability-redundant-string-cstr
Summary:
std::string::data() and std::string::c_str() are equivalent.
Enhance the readability-redundant-string-cstr check to also handle
calls to data().
Reviewers: etienneb, alexfh, aaron.ballman
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D26279
llvm-svn: 285901
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h')
0 files changed, 0 insertions, 0 deletions