diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-07-16 10:00:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-07-16 10:00:14 +0000 |
commit | b1039759fb2d513f843030a16458d8420566abb6 (patch) | |
tree | 74705d124ec9cab64c3b8d24dcce647ee0c0d0bb /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 2e9427a175cf47b4f812a930fc43398c15a4adcf (diff) | |
download | llvm-b1039759fb2d513f843030a16458d8420566abb6.zip llvm-b1039759fb2d513f843030a16458d8420566abb6.tar.gz llvm-b1039759fb2d513f843030a16458d8420566abb6.tar.bz2 |
[clang-tidy] Add a checker that warns on const string & members.
Summary:
Those are considered unsafe and should be replaced with simple pointers or
full copies. It recognizes both std::string and ::string.
Reviewers: alexfh, djasper
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4522
llvm-svn: 213133
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions