llvm-project/clang-tools-extra/clang-tidy/performance
Felix Berger f4fdc8aba0 [clang-tidy] Only invoke ForRangeCopyCheck on expensive-to-copy types.
Summary:
Fix oversight not checking the value of the Optional<bool> returned by
isExpensiveToCopy().

Reviewers: alexfh

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D17064

llvm-svn: 260870
2016-02-15 03:36:23 +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] Only invoke ForRangeCopyCheck on expensive-to-copy types. 2016-02-15 03:36:23 +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] Use hasLocalStorage() to identify unnecessary copy initializations to exclude static local variables. 2015-12-30 11:35:50 +00:00
UnnecessaryCopyInitialization.h [clang-tidy] Don't use delegating constructors 2015-12-30 11:39:30 +00:00