diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-12-17 20:23:14 +0000 |
---|---|---|
committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-12-17 20:23:14 +0000 |
commit | 79578cc936771c531dce837d359068197b20a882 (patch) | |
tree | b61486a27d51a01e746c28ac755ec426a31485bc /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 3aaf11fbd49daf1f9f61064d753c03dc46567eb2 (diff) | |
download | llvm-79578cc936771c531dce837d359068197b20a882.zip llvm-79578cc936771c531dce837d359068197b20a882.tar.gz llvm-79578cc936771c531dce837d359068197b20a882.tar.bz2 |
[clang-tidy] Remove duplicated check from move-constructor-init
Summary:
An addition to the move-constructor-init check was duplicating the
modernize-pass-by-value check.
Remove the additional check and UseCERTSemantics option.
Run the move-constructor-init test with both checks enabled.
Fix modernize-pass-by-value false-positive when initializing a base
class.
Add option to modernize-pass-by-value to only warn about parameters
that are already values.
Reviewers: alexfh, flx, aaron.ballman
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D26453
llvm-svn: 290051
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions