aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorFelix Berger <flx@google.com>2016-03-05 21:17:58 +0000
committerFelix Berger <flx@google.com>2016-03-05 21:17:58 +0000
commitadfdc14832213a80183c7665c2dfdfa466e13fc5 (patch)
tree3ff5793568f78e25c9497a020fe734d4c554b9fa /clang/lib/Lex/ModuleMap.cpp
parentac25f2c0737179bb90ec6c29d11ccd8930f78215 (diff)
downloadllvm-adfdc14832213a80183c7665c2dfdfa466e13fc5.zip
llvm-adfdc14832213a80183c7665c2dfdfa466e13fc5.tar.gz
llvm-adfdc14832213a80183c7665c2dfdfa466e13fc5.tar.bz2
[clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references.
Summary: Move code shared between UnnecessaryCopyInitialization and ForRangeCopyCheck into utilities files. Add more test cases for UnnecessaryCopyInitialization and disable fixes inside of macros. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17488 llvm-svn: 262781
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions