llvm/clang-tools-extra/clang-tidy
Jun Zhang ac616fbb05
[Clang-tidy] Check the existence of ElaboratedType's qualifiers
The ElaboratedType can have no qualifiers, so we should check it before
use.

Fix #issue53874(https://github.com/llvm/llvm-project/issues/53874)

Differential Revision: https://reviews.llvm.org/D119949
2022-03-01 23:52:44 +08:00
..
abseil [clang-tidy] Use cast<>/castAs<> instead of dyn_cast<>/getAs<> to avoid dereference of nullptr 2022-01-23 12:57:12 +00:00
altera
android
boost
bugprone [clang-tidy] checkOverridingFunctionReturnType - use castAs<> instead of getAs<> to avoid dereference of nullptr 2022-02-12 10:41:43 +00:00
cert
concurrency
cppcoreguidelines [clang-tidy] ProBoundsConstantArrayIndexCheck::check - use cast<> instead of dyn_cast<> to avoid dereference of nullptr 2022-02-12 10:43:21 +00:00
darwin
fuchsia
google
hicpp
linuxkernel
llvm [clang-tidy] Fix LLVM include order check policy 2022-02-03 17:32:43 +01:00
llvmlibc [clang-tidy] getOutermostNamespace - remove redundant nullptr check 2022-02-12 10:49:54 +00:00
misc [clang-tidy] Ignore variable template partial specializations in misc-definitions-in-headers 2022-02-14 11:38:27 +01:00
modernize [clang-tidy] UseNoexceptCheck::check - use cast<> instead of dyn_cast<> to avoid dereference of nullptr 2022-02-12 10:51:48 +00:00
mpi [clang-tidy][NFC] replace some redundant std::string creations 2022-01-19 18:36:35 +00:00
objc
openmp
performance [clang-tidy] NoexceptMoveConstructorCheck::check - use castAs<> instead of getAs<> to avoid dereference of nullptr 2022-02-12 10:57:09 +00:00
plugin
portability
readability [Clang-tidy] Check the existence of ElaboratedType's qualifiers 2022-03-01 23:52:44 +08:00
tool [clang-tidy] Provide fine control of color in run-clang-tidy 2022-02-20 22:00:28 +00:00
utils [clang-tidy] Include constructor initializers in bugprone-exception-escape check 2022-01-21 00:53:57 +01:00
zircon
add_new_check.py [clang-tidy] Force LF newlines when writing files 2022-01-18 09:39:42 -07:00
clang-tidy-config.h.cmake
ClangTidy.cpp
ClangTidy.h
ClangTidyCheck.cpp
ClangTidyCheck.h [clang-tools-extra] Remove unused forward declarations (NFC) 2022-01-30 16:05:00 -08:00
ClangTidyDiagnosticConsumer.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
ClangTidyDiagnosticConsumer.h [clang-tools-extra] Remove unused forward declarations (NFC) 2022-01-30 16:05:00 -08:00
ClangTidyForceLinker.h
ClangTidyModule.cpp
ClangTidyModule.h
ClangTidyModuleRegistry.h
ClangTidyOptions.cpp
ClangTidyOptions.h
ClangTidyProfiling.cpp
ClangTidyProfiling.h
CMakeLists.txt Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
ExpandModularHeadersPPCallbacks.cpp
ExpandModularHeadersPPCallbacks.h
GlobList.cpp [clang-tidy][NFC] Remove Tristate from CachedGlobList 2022-02-23 08:35:31 +00: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
rename_check.py