llvm-project/clang-tools-extra/clang-tidy
Anton Bikineev d36a033310 [clang-tidy] New checker performance-trivially-destructible-check
Checks for types which can be made trivially-destructible by removing
out-of-line defaulted destructor declarations.

The check is motivated by the work on C++ garbage collector in Blink
(rendering engine for Chrome), which strives to minimize destructors and
improve runtime of sweeping phase.

In the entire chromium codebase the check hits over 2000 times.

Differential Revision: https://reviews.llvm.org/D69435
2019-11-01 16:16:49 +01:00
..
abseil Fix typo. "piont" => "point" 2019-08-20 00:28:21 +00:00
android Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
boost [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
bugprone [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 2 2019-10-13 10:20:58 +00:00
cert [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
cppcoreguidelines Add the misc-init-local-variables check. 2019-10-02 17:18:57 +00:00
darwin [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock 2019-10-01 21:18:40 +00:00
fuchsia Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
google Use std::unique_ptr in ClangTidyCheckFactories 2019-09-26 13:47:29 +00:00
hicpp Add an option to hicpp-signed-bitwise for positive integer literals. 2019-10-30 14:11:29 -04:00
linuxkernel [clang-tidy] Add a module for the Linux kernel. 2019-07-25 22:32:50 +00:00
llvm [clang-tidy] Make llvm-header-guard work on llvm git monorepo 2019-09-26 09:56:37 +00:00
misc Fix a false positive in misc-redundant-expression check 2019-10-30 13:38:25 -04:00
modernize Fix modernize-use-nodiscard for classes marked [[nodiscard]] 2019-10-30 13:45:37 -04:00
mpi [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
objc [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock 2019-10-01 21:18:40 +00:00
openmp [clang-tidy] openmp-exception-escape check: point to the structured-block 2019-05-05 21:26:32 +00:00
performance [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
plugin clang-tidy: Don't repeat list of all checks in three places. 2019-09-27 12:56:14 +00:00
portability [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
readability Fix readability-identifier-naming to prevent variables becoming keywords. 2019-10-30 14:18:40 -04:00
tool [clang-tools-extra] [cmake] Link against libclang-cpp whenever possible 2019-10-04 20:30:02 +00:00
utils [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
zircon [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
CMakeLists.txt [clang-tools-extra] Fix overzealous linking of dylib to clangTidy 2019-10-15 13:05:38 +00:00
ClangTidy.cpp [clang-scan-deps] Support for clang --analyze in clang-scan-deps 2019-10-14 20:15:01 +00:00
ClangTidy.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
ClangTidyCheck.cpp [clang-tidy] Separate the check-facing interface 2019-03-25 12:36:30 +00:00
ClangTidyCheck.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
ClangTidyDiagnosticConsumer.cpp Revert "[clang-tidy] Fix relative path in header-filter." 2019-09-23 13:06:25 +00:00
ClangTidyDiagnosticConsumer.h Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
ClangTidyForceLinker.h clang-tidy: Don't repeat list of all checks in three places. 2019-09-27 12:56:14 +00:00
ClangTidyModule.cpp Return results by value from ClangTidyCheckFactories::createChecks 2019-09-26 13:55:01 +00:00
ClangTidyModule.h Return results by value from ClangTidyCheckFactories::createChecks 2019-09-26 13:55:01 +00:00
ClangTidyModuleRegistry.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyOptions.cpp Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
ClangTidyOptions.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
ClangTidyProfiling.cpp Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
ClangTidyProfiling.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ExpandModularHeadersPPCallbacks.cpp Use FileEntryRef for PPCallbacks::HasInclude 2019-08-27 17:32:42 +00:00
ExpandModularHeadersPPCallbacks.h Use FileEntryRef for PPCallbacks::HasInclude 2019-08-27 17:32:42 +00:00
GlobList.cpp Refactor GlobList from an ad-hoc linked list to a vector 2019-08-27 10:56:13 +00:00
GlobList.h Refactor GlobList from an ad-hoc linked list to a vector 2019-08-27 10:56:13 +00:00
add_new_check.py Updated add_new_check.py to create checker tests in the new directory 2019-10-11 13:46:55 +00:00
rename_check.py [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00