llvm-project/clang-tools-extra/clang-tidy/performance
Benjamin Kramer adcd026838 Make llvm::StringRef to std::string conversions explicit.
This is how it should've been and brings it more in line with
std::string_view. There should be no functional change here.

This is mostly mechanical from a custom clang-tidy check, with a lot of
manual fixups. It uncovers a lot of minor inefficiencies.

This doesn't actually modify StringRef yet, I'll do that in a follow-up.
2020-01-28 23:25:25 +01:00
..
CMakeLists.txt [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
FasterStringFindCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FasterStringFindCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ForRangeCopyCheck.cpp [clang-tidy] implement utility-function to add 'const' to variables 2020-01-03 20:37:47 +01:00
ForRangeCopyCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ImplicitConversionInLoopCheck.cpp [NFC] Refactor representation of materialized temporaries 2019-11-19 18:20:45 +01:00
ImplicitConversionInLoopCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
InefficientAlgorithmCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InefficientAlgorithmCheck.h NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
InefficientStringConcatenationCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InefficientStringConcatenationCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
InefficientVectorOperationCheck.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
InefficientVectorOperationCheck.h [clang-tidy] performance-inefficient-vector-operation: Support proto repeated field 2019-09-16 08:54:10 +00:00
MoveConstArgCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MoveConstArgCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MoveConstructorInitCheck.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
MoveConstructorInitCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
NoAutomaticMoveCheck.cpp [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
NoAutomaticMoveCheck.h [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
NoexceptMoveConstructorCheck.cpp [clang-tidy] Add FixItHint for performance-noexcept-move-constructor 2019-08-04 13:32:39 +00:00
NoexceptMoveConstructorCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
PerformanceTidyModule.cpp [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
TriviallyDestructibleCheck.cpp [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
TriviallyDestructibleCheck.h [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
TypePromotionInMathFnCheck.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
TypePromotionInMathFnCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UnnecessaryCopyInitialization.cpp [clang-tidy] implement utility-function to add 'const' to variables 2020-01-03 20:37:47 +01:00
UnnecessaryCopyInitialization.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UnnecessaryValueParamCheck.cpp [clang-tidy] implement utility-function to add 'const' to variables 2020-01-03 20:37:47 +01:00
UnnecessaryValueParamCheck.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00