llvm-project/clang-tools-extra/clang-tidy
Alexander Kornienko 8ac20a8439 Fixed function params comparison. Updated docs and tests.
Summary: "checkParamTypes" may fail if the the type of some parameter is not canonical. Fixed it by comparing canonical types. And added "getCanonicalType()" and "getCanonicalDecl()" on more places to prevent potential fail.

Reviewers: alexfh

Subscribers: cfe-commits

Patch by Cong Liu!

Differential Revision: http://reviews.llvm.org/D16587

llvm-svn: 259197
2016-01-29 15:22:10 +00:00
..
cert Remove autoconf support 2016-01-26 21:31:36 +00:00
cppcoreguidelines Remove autoconf support 2016-01-26 21:31:36 +00:00
google Remove autoconf support 2016-01-26 21:31:36 +00:00
llvm Remove autoconf support 2016-01-26 21:31:36 +00:00
misc Fixed function params comparison. Updated docs and tests. 2016-01-29 15:22:10 +00:00
modernize Remove autoconf support 2016-01-26 21:31:36 +00:00
performance [clang-tidy] Fix style issues. NFC 2016-01-29 15:21:43 +00:00
readability Remove autoconf support 2016-01-26 21:31:36 +00:00
tool Remove autoconf support 2016-01-26 21:31:36 +00:00
utils Remove autoconf support 2016-01-26 21:31:36 +00:00
CMakeLists.txt [clang-tidy] Add UnnecessaryCopyInitialization check to new "performance" module in ClangTidy 2015-12-30 10:24:40 +00:00
ClangTidy.cpp Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
ClangTidy.h Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Fix a copy-paste error. 2016-01-15 16:16:47 +00:00
ClangTidyDiagnosticConsumer.h Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
ClangTidyModule.cpp [clang-tidy] Default options in modules. 2014-10-16 11:27:57 +00:00
ClangTidyModule.h Revert "Apply modernize-use-default to clang-tools-extra." 2015-10-20 21:45:52 +00:00
ClangTidyModuleRegistry.h [clang-tidy] Fixed header guards using clang-tidy llvm-header-guard check. NFC. 2015-03-09 16:52:33 +00:00
ClangTidyOptions.cpp Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
ClangTidyOptions.h Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
add_new_check.py Add documentation redirects for clang-tidy checkers that are exposed under multiple checker names. Updates the Python script for adding checks to properly handle these aliases. 2016-01-11 16:48:26 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00