llvm-project/clang-tools-extra/clang-tidy/performance
Felix Berger adfdc14832 [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
2016-03-05 21:17:58 +00:00
..
CMakeLists.txt [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
FasterStringFindCheck.cpp [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
FasterStringFindCheck.h [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
ForRangeCopyCheck.cpp [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
ForRangeCopyCheck.h [clang-tidy] ForRangeCopyCheck that warns on and fixes unnecessary copies of loop variables. 2016-01-29 15:54:26 +00:00
ImplicitCastInLoopCheck.cpp [clang-tidy] Fix minor style issues. NFC 2016-01-29 15:22:20 +00:00
ImplicitCastInLoopCheck.h [clang-tidy] Don't use delegating constructors, since they are not supported by MSVC 2013 2016-01-29 17:35:53 +00:00
PerformanceTidyModule.cpp [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
UnnecessaryCopyInitialization.cpp [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
UnnecessaryCopyInitialization.h [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00