llvm-project/clang-tools-extra/clang-tidy
Haojian Wu 67853ac4e0 [clang-tidy] Fix a false positive in unused-using-decl check
The previous matcher "hasAnyTemplateArgument(templateArgument())" only
matches the first template argument, but the check wants to iterate all
template arguments. This patch fixes this.

Also some refactorings in this patch (to make the code reusable).

llvm-svn: 370760
2019-09-03 14:13:00 +00: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 Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
cert [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
cppcoreguidelines Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
fuchsia Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
google [clang-tidy] Don't emit google-runtime-references warning for functions defined in macros. 2019-08-23 08:47:27 +00:00
hicpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
linuxkernel [clang-tidy] Add a module for the Linux kernel. 2019-07-25 22:32:50 +00:00
llvm [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy 2019-08-30 20:01:59 +00:00
misc [clang-tidy] Fix a false positive in unused-using-decl check 2019-09-03 14:13:00 +00:00
modernize Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
mpi [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
objc Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
openmp [clang-tidy] openmp-exception-escape check: point to the structured-block 2019-05-05 21:26:32 +00:00
performance Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
plugin [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
portability [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
readability [clang-tidy] readability-identifier-naming shouldn't complain about CRTP pseudo-overrides 2019-08-28 12:08:57 +00:00
tool Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
utils [clang-tidy] Fix the potential infinite loop in recordIsTriviallyDefaultConstructible. 2019-08-28 13:45:53 +00:00
zircon [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
CMakeLists.txt Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
ClangTidy.cpp Changed FrontendActionFactory::create to return a std::unique_ptr 2019-08-29 16:38:36 +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 Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
ClangTidyDiagnosticConsumer.h Moved GlobList into a separate header file 2019-08-26 15:44:32 +00:00
ClangTidyForceLinker.h [clang-tidy] Add a module for the Linux kernel. 2019-07-25 22:32:50 +00:00
ClangTidyModule.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModule.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +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 Make add_new_check.py's insertion of registerCheck<> match the sort order 2019-08-30 20:47:02 +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