llvm-project/clang-tools-extra/clang-tidy/performance
Nathan James 0e0b0feff1
[clang-tidy] Make performance-inefficient-vector-operation work on members
Fixes https://llvm.org/PR50157

Adds support for when the container being read from in a range-for is a member of a struct.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101624
2022-04-08 14:17:41 +01:00
..
CMakeLists.txt [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
FasterStringFindCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
FasterStringFindCheck.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
ForRangeCopyCheck.cpp [clang-tidy] performance-for-range-copy: Don't trigger on implicit type conversions. 2021-03-02 20:02:48 -05:00
ForRangeCopyCheck.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
ImplicitConversionInLoopCheck.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ImplicitConversionInLoopCheck.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
InefficientAlgorithmCheck.cpp [clang-tidy] Simplify inefficient algorithm check 2021-02-17 10:19:44 +00:00
InefficientAlgorithmCheck.h [clang-tidy] Simplify inefficient algorithm check 2021-02-17 10:19:44 +00:00
InefficientStringConcatenationCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
InefficientStringConcatenationCheck.h
InefficientVectorOperationCheck.cpp [clang-tidy] Make performance-inefficient-vector-operation work on members 2022-04-08 14:17:41 +01:00
InefficientVectorOperationCheck.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
MoveConstArgCheck.cpp [clang-tidy] add option performance-move-const-arg.CheckMoveToConstRef 2022-02-10 13:31:07 +00:00
MoveConstArgCheck.h [clang-tidy] add option performance-move-const-arg.CheckMoveToConstRef 2022-02-10 13:31:07 +00:00
MoveConstructorInitCheck.cpp [clang-tidy][NFC] Tweak some generation of diag messages 2021-02-26 19:10:25 +00:00
MoveConstructorInitCheck.h [clang-tidy] Remove IncludeInserter from MoveConstructorInit check. 2021-02-23 13:48:07 +00:00
NoAutomaticMoveCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
NoAutomaticMoveCheck.h
NoIntToPtrCheck.cpp [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
NoIntToPtrCheck.h [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
NoexceptMoveConstructorCheck.cpp [clang-tidy] NoexceptMoveConstructorCheck::check - use castAs<> instead of getAs<> to avoid dereference of nullptr 2022-02-12 10:57:09 +00:00
NoexceptMoveConstructorCheck.h
PerformanceTidyModule.cpp [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
TriviallyDestructibleCheck.cpp
TriviallyDestructibleCheck.h
TypePromotionInMathFnCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
TypePromotionInMathFnCheck.h [clang-tidy] Refactor IncludeInserter 2020-07-27 12:48:55 +01:00
UnnecessaryCopyInitialization.cpp [clang-tidy] performance-unnecessary-copy-initialization: Fix false negative. 2021-11-24 08:07:21 +01:00
UnnecessaryCopyInitialization.h [clang-tidy] performance-unnecessary-copy-initialization: Create option to exclude container types from triggering the check. 2021-07-22 16:20:20 -04:00
UnnecessaryValueParamCheck.cpp [clang-tidy][NFC] Tweak some generation of diag messages 2021-02-26 19:10:25 +00:00
UnnecessaryValueParamCheck.h [clang-tidy] Refactor IncludeInserter 2020-07-27 12:48:55 +01:00