llvm-project/clang-tools-extra/clang-tidy
Nathan James 12cb540529
[clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice.
There's many instances in clang tidy checks where owning strings are used when we already have a stable string from the options, so using a StringRef makes much more sense.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124341
2022-05-09 12:01:46 +01:00
..
abseil [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
altera [clang-tidy] Fix `altera-struct-pack-align` check for empty structs 2022-04-20 16:55:29 +02:00
android [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
boost [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
bugprone [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
cert [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
concurrency [clang-tidy] Add new check 'concurrency-thread-canceltype-asynchronous' and alias 'cert-pos47-c'. 2021-02-22 12:42:20 +01:00
cppcoreguidelines [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
darwin [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
fuchsia Fix false positives in `fuchsia-trailing-return` check involving deduction guides 2021-12-01 15:28:01 -05:00
google [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
hicpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
linuxkernel [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
llvm [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
llvmlibc [clang-tidy] Fix crash on calls to overloaded operators in `llvmlibc-callee-namespace` 2022-04-20 10:15:03 +02:00
misc [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
modernize [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
mpi [clang-tidy][NFC] replace some redundant std::string creations 2022-01-19 18:36:35 +00:00
objc [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
openmp [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
performance [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
plugin [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
portability [clang-tidy] Add portability-std-allocator-const check 2022-04-14 11:13:41 -07:00
readability [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
tool [clang-tidy] support --load in clang-tidy-diff.py/run-clang-tidy.py 2022-04-28 13:49:18 +02:00
utils [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
zircon [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
CMakeLists.txt Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
ClangTidy.cpp [clang-tidy][NFC] Add createChecks method that also checks for LangaugeOptions 2022-05-06 17:30:34 +01:00
ClangTidy.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ClangTidyCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
ClangTidyCheck.h [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Add a Standalone diagnostics mode to clang-tidy 2022-04-16 09:53:35 +01:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Add a Standalone diagnostics mode to clang-tidy 2022-04-16 09:53:35 +01:00
ClangTidyForceLinker.h [clang-tidy] add concurrency module 2020-11-30 12:27:17 +03:00
ClangTidyModule.cpp [clang-tidy][NFC] Add createChecks method that also checks for LangaugeOptions 2022-05-06 17:30:34 +01:00
ClangTidyModule.h [clang-tidy][NFC] Add createChecks method that also checks for LangaugeOptions 2022-05-06 17:30:34 +01:00
ClangTidyModuleRegistry.h
ClangTidyOptions.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ClangTidyOptions.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ClangTidyProfiling.cpp [clang-tidy][NFC] Remove unnecessary headers 2020-12-28 15:01:51 +00:00
ClangTidyProfiling.h [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
ExpandModularHeadersPPCallbacks.cpp [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
ExpandModularHeadersPPCallbacks.h [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
GlobList.cpp Allow newline characters as separators for checks in Clang-Tidy configurations 2022-03-15 14:30:13 -04:00
GlobList.h [clang-tidy][NFC] Remove Tristate from CachedGlobList 2022-02-23 08:35:31 +00:00
NoLintDirectiveHandler.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
NoLintDirectiveHandler.h Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
add_new_check.py [clang-tidy] Refactor: Prefer single quoted strings over double quoted strings [NFC] 2022-03-11 15:08:24 -07:00
clang-tidy-config.h.cmake Add an explicit toggle for the static analyzer in clang-tidy 2020-09-10 10:48:17 -04:00
rename_check.py Fix python 2-vs-3 issues in add_new_check.py and rename_check.py 2021-09-11 09:52:50 +02:00