llvm-project/clang-tools-extra/clang-tidy
Mads Ravn 7175c2ce4d [clang-tidy] modernize-pass-by-value bugfix
Modified the clang-tidy PassByValue check. It now stops adding std::move to type which is trivially copyable because that caused the clang-tidy MoveConstArg to complain and revert, thus creating a cycle.

I have also added a lit-style test to verify the bugfix.

This is the bug on bugzilla: https://llvm.org/bugs/show_bug.cgi?id=27731

This is the code review on phabricator: http://reviews.llvm.org/D20365

llvm-svn: 270565
2016-05-24 15:00:16 +00:00
..
boost Add boost-use-to-string 2016-04-29 17:58:29 +00:00
cert [clang-tidy] Switch to a more common way of customizing check behavior. 2016-05-20 13:42:40 +00:00
cppcoreguidelines Fixed cppcoreguidelines-pro-type-member-init when checking records with indirect fields 2016-05-10 07:42:19 +00:00
google [clang-tidy] Fix/add style guide links. 2016-05-19 09:31:30 +00:00
llvm [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
misc Commiting for http://reviews.llvm.org/D20365 2016-05-23 18:06:29 +00:00
modernize [clang-tidy] modernize-pass-by-value bugfix 2016-05-24 15:00:16 +00:00
performance [clang-tidy] Lift common matchers to utils namespace 2016-05-17 19:36:09 +00:00
plugin Add boost-use-to-string 2016-04-29 17:58:29 +00:00
readability [clang-tidy] Lift common matchers to utils namespace 2016-05-17 19:36:09 +00:00
tool Add boost-use-to-string 2016-04-29 17:58:29 +00:00
utils [clang-tidy] Fix a functional change from r269656. 2016-05-18 09:48:46 +00:00
CMakeLists.txt Add boost-use-to-string 2016-04-29 17:58:29 +00:00
ClangTidy.cpp Fix include path in ClangTidy.cpp. 2016-04-28 01:42:12 +00:00
ClangTidy.h [docs] Clean up doxygen comments a bit. 2016-03-06 04:05:59 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Switch to a more common way of customizing check behavior. 2016-05-20 13:42:40 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Switch to a more common way of customizing check behavior. 2016-05-20 13:42:40 +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 [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +00:00
ClangTidyOptions.h [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +00:00
add_new_check.py [clang-tidy] add_new_check.py should fail if check name starts with the module name 2016-04-13 08:46:32 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00