aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-04-21 17:28:08 +0000
committerEtienne Bergeron <etienneb@google.com>2016-04-21 17:28:08 +0000
commit1dbd582387a577ee416d22d9cc2dc957926f8035 (patch)
treeebe510701c347d172d12c7c2b2ef76502fda4e87 /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parenta7a55c4d276523fecd460c503be885348caae502 (diff)
downloadllvm-1dbd582387a577ee416d22d9cc2dc957926f8035.zip
llvm-1dbd582387a577ee416d22d9cc2dc957926f8035.tar.gz
llvm-1dbd582387a577ee416d22d9cc2dc957926f8035.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions