This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch stable in repository clang-tools-extra.
from 19a48cb Updating branches/google/stable to r267754 adds d52761a Wdocumentation fix adds 15e6bf3 clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type- [...] adds a64349e Fix include path in ClangTidy.cpp. adds 0e49fad FindAllSymbolsTest.CTypedefTest: Tweak for LLP64 like x86_64-win32. adds 694009c Add missing newline in clang-rename output. adds cdbd585 [include-fixer] Add an option to minimize include paths. adds 669f9af [clang-tidy] cppcoreguidelines-pro-type-member-init should no [...] adds 10c1dd6 [include-fixer] Add Yaml database integration. adds 1d33042 [find-all-symbols] Save absolute file path instead of relativ [...] adds 62b3188 [find-all-symbols] Fix racy yaml file writing. adds 39ce4a2 Make run-find-all-symbols executable. adds 54a3251 [find-all-symbols] Parallelize the merge step. adds 80f25a0 small reformat to test access adds 889329f Add boost-use-to-string adds 4a6b615 Add a clang-tidy check that flags string-to-number conversion [...] adds f711a20 [Release Notes] Mention Clang-tidy cert-err34-c check. adds 34874aa [clang-tidy] Add modernize-make-shared check adds 5e8c5f7 [include-fixer] Fix Clang-tidy modernize-use-override and som [...] adds c807180 [clang-tidy] Cleaning namespaces to be more consistant across [...] adds 087b7ba [Clang-tidy] Fix Clang-tidy modernize-use-override and some I [...] adds fd58c1b [clang-tidy] ProTypeMemberInitCheck - check that field decls [...] adds 197372c [clang-tidy] Cleanup namespace in utils folder. adds a01ae3e Fix a crash in cppcoreguidelines-pro-type-member-init when ch [...] adds d69aa22 [include-fixer] Abstract includeFixerMain function. adds 91e8ca7 Fix cppcoreguidelines-pro-type-member-init failure test on Windows. adds b9a137a [clang-tidy] Speedup misc-static-assert. adds 84f5259 [clang-tidy] MoveConstructorInitCheck - Add parameter name to [...] adds b2d99de Added XrefsDBManager into include-fixer and made XrefsDB retu [...] adds 9ca4e69 When renaming a class, ename pointers to that class as well. adds cf19728 [clang-tidy] New: checker misc-unconventional-assign-operator [...] adds efb05a5 [clang-tidy] Remove STL dependency from a test. adds a813862 [clang-tidy] Apply NOLINT filtering to Clang warnings. adds 82441c5 [clang-tidy] Improve -warnings-as-errors tests. adds fcb2d53 [Documentation] List Clang-tidy checks alphabetically. adds ed84b00 clang-rename: when renaming a field, rename initializers of t [...] adds d6dc031 clang-rename tests: move the run lines to the top of the test files adds 67d9a7e Fix docs. adds 47fbc04 Trying to fix docs. adds fbf7629 Support variables and functions types in misc-unused-using-decls. adds 20c1ffc [clang-tidy] new google-default-arguments check adds 8722646 [include-fixer] Autodetect yaml databases in parent directories. adds 9a592f1 Fixed cppcoreguidelines-pro-type-member-init when checking re [...] adds 66005d6 [include-fixer] For now, only add the first suggested include. adds 9864959 [include-fixer] Work around partial names in both directions. adds b3f23e7 [include-fixer] Emit some terminal output so users can see th [...] adds 63049c2 [include-fixer] Remove unused includes and accessor. adds 68b6763 [include-fixer] Default to YAML db, it's much more useful tha [...] adds 6fce394 [clang-tidy] Lift parsing of sequence of names functions to utils. adds 2d7f243 Disable IncludeFixerTests/IncludeFixer.NestedName for now. It [...] adds 8da8410 clang-rename: fix renaming of field with implicit initializers adds 4189dec [find-all-symbols] Slim SymbolInfo. adds a468e6f [include-fixer] Add basic documentation. adds 03a2247 [clang-tidy] Adds modernize-use-bool-literals check. adds 8acc3a8 [find-all-symbols] Save relative file path for each symbol. adds 5186b98 [include-fixer] Add lit-test for relative include path. adds ef51b76 [include-fixer] Also output the location where we found an un [...] adds d9c05c4 [include-fixer] Always ignore SFINAE contexts. adds a1fe076 [clang-tidy] Add FixIt for swapping arguments in string-const [...] adds f8ab578 [clang-tidy] Refactoring of FixHintUtils adds bb7870c [Clang-tidy] modernize-use-bool-literals: documentation style. adds bfab925 [clang-tidy] Add missing dependency of libtooling to misc module adds b799d41 [clang-tidy] Improve misc-redundant-expression and decrease f [...] adds 3bb1565 [clang-tidy] Ignore using-declarations defined in marcro in m [...] adds a53fccc [clang-tidy] Adds modernize-avoid-bind check adds 938ce78 [clang-tidy] - PerformanceUnnecesaryCopyInitialization - only [...] adds 39a1383 [find-all-symbols] Add enum type support. adds 4e6864c clang-rename: check that the source location we find actually [...] adds e92b2c3 [include-fixer] Rename XrefsDB to SymbolIndex. adds 8f7feb0 [find-all-symbols] Add EnumDecl type in YAML traits. adds b655905 [include-fixer] Simplify unittest code. adds 42d1382 [clang-rename] Fix broken dependency on shared build. adds ed563df [include-fixer] Use scope contexts information to improve query. adds b0fc236 [include-fixer] Fix broken dependency shared build adds 170f515 [Release notes] Mention Clang-tidy modernize-avoid-bind check. adds 64c4a78 [clang-tidy] TypeTraits - Type is not expensive to copy when [...] adds 5a8e0be [clang-tidy] Cleanups utils files adds 4832bde [include-fixer] Make the "extend to the right" hack support t [...] adds 61129f8 [find-all-symbols] Ignore anonymous enum declarations. adds 217cbd4 [find-all-symbols] Add IWYU private pragma support. adds 0349520 [clang-tidy] Skip misc-macro-parentheses for namespaces (Fix [...] adds 451d06f clang-rename: avoid StringRef members in USRLocFindingASTVisitor adds 4bf4c41 [clang-tidy] Lift common matchers to utils namespace adds f8f5d16 IncludeFixerTest.cpp: Add explicit triple for some tests. The [...] adds dee201f include-fixer: They require clangLex. adds a09ac5e FindAllSymbolsTests doesn't require clangToolingCore. adds 5914b4e findAllSymbols: Prune unused libdeps. adds fb5e10d [include-fixer] Ignore non-scoped enum declaration during search. adds 62a3f69 [include-fixer] Run tests with -fno-ms-compatibility. adds 296bbc1 [clang-tidy] Fix a functional change from r269656. adds 1ba2168 [clang-tidy] Fix a template function false positive in misc-u [...] adds 1170cc3 [clang-tidy] Fix misc-unused-using-decls test failure in wind [...] adds 330a15b [include-fixer] Don't insert #includes if a fatal error occurred. adds 1db8509 [clang-include-fixer] Added Vim integration for clang-include-fixer. adds be640cb [clang-tidy] Use unresolvedLookupExpr node matcher from ASTMatcher. adds 3755932 clang-rename: handle non-inline ctor definitions when renamin [...] adds 328a992 [include-fixer] Also look up prefixes of queries. adds 21d54d1 [include-fixer] Sort headers after inserting new headers. adds 5c8703d [clang-tidy] Fix doc titles. adds c90e93f [clang-tidy] Fix/add style guide links. adds cdf3159 [include-fixer] Remove obsolete windows hack. adds 9f34cd9 [include-fixer] Make search handle fully qualified names correctly. adds 21b27ba [include-fixer] Remove an unused local variable ExistingHeaders. adds 6aef44b [include-fixer] Fix unused variable warning in Release builds. adds b25c7ec [find-all-symbol] Add macro support. adds 143cc34 [clang-tidy] Handle using-decls with more than one shadow decl. adds 238e81f [find-all-symbols] make HeaderMapCollector optional in FindAl [...] adds 3504854 [find-all-symbols] fixed FindAllMacros compilation error. adds 298c7be [clang-tidy] Add more descriptive comments and examples in mi [...] adds 4e8dff9 [find-all-symbol] Try to fix the failure windows unittest. adds 2a77e66 [find-all-symbols] fix failing unittest for Windows build bot. adds 768cc76 clang-rename: fix renaming members when referenced as macro a [...] adds ab0522f [find-all-symbol] Ignore inline namespace context. adds cd0a83c [find-all-symbols] Some cleanups in unittest. adds 3f89bf0 [clang-tidy] Switch to a more common way of customizing check [...] adds cb223d7 Fix docs adds 4556aed Commiting for http://reviews.llvm.org/D20365 adds 23033da Commiting for http://reviews.llvm.org/D20365 adds de7f6bd Commiting for http://reviews.llvm.org/D20365 adds 43756df [clang-tidy] modernize-pass-by-value bugfix adds 921e5ad [find-all-symbols] Added hardcode header mapping from header [...] adds 3cc93df [clang-tidy] modernize-pass-by-value bugfix. Reverting lit-st [...] adds 818ca80 [include-fixer][find-all-symbols] removed unused const member [...] adds 6213f81 [clang-tidy] modernize-pass-by-value bugfix. Reverting lit-st [...] adds 87349bd [include-fixer][find-all-symbols] added missing dependencies. adds 4efb5a9 [clang-tidy] Don't rely on <array> being available. adds 0c59161 clang-rename: fix renaming non-members variables when referen [...] adds 771e03e [clang-tidy] Fix typo in test file name. adds 3684ef9 [include-fixer] moved STLPostfixMap into findAllSymbols libra [...] adds 4b83c43 [include-fixer] Simplify the code since we won't handle multi [...] adds 23f2dfd Include local header with quotes instead of angle brackets. adds f7525a8 [include-fixer] /usr/include/xlocal.h to include/xlocal.h in [...] adds b318041 Speed up check by using a recursive visitor. adds 1871ab4 clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type- [...] adds df6c9e4 [include-fixer] Add a missing .h. adds 19bc5e9 Fix a wrong check in misc-unused-using-decls adds 614606a [clang-tidy] Fix script adding new clang-tidy check adds d3a1e8c [clang-tidy] Remove redundant quote in add_new_check script adds f506f18 [clang-tidy] UnnecessaryCopyInitialization - Extend to trigge [...] adds cae2416 [include-fixer] Create a mode in vim integration to show mult [...] adds 20a6809 [include-fixer] Add missing dependency. adds 2d50e9e Make the vim integration output a bit prettier and drop the - [...] adds 4bedafb [include-fixer] collect the number of times a symbols is foun [...] adds fa0a0e8 [find-all-symbols] Add a test to make sure merging actually works. adds 15e2aef [include-fixer] Code cleanup. adds 41679aa [include-fixer] use tooling::Replacements since the order of [...] adds 9e2e785 [include-fixer] Rank symbols based on the number of occurrenc [...] adds 28df44b [include-fixer] Use a DenseMap, order doesn't matter here. adds 9dd1132 [include-fixer] Inline trivial methods. adds cec2b3e [include-fixer] use clang-format cleaner to insert header. adds b1b7a9b [ASTMatchers] Added ignoringParenImpCasts to has matchers adds 3ccdf1f [include-fixer] removed unused forward declaration. adds f31c301 IncludeFixerTests: Update libdeps. adds ae45fd4 [find-all-symbols] remove dots in SymbolInfo file paths. adds 3d02f63 [include-fixer] disable path cleaning test for windows and mingw. adds 4a22f29 [include-fixer] Use YAML format in -output-headers and -inser [...] adds 9459077 [include-fixer] use includer of .inc header to be the file pa [...] adds 560e4ac Fix uninitialized memory access when the token 'const' is not [...] adds 0451d51 clang-rename: fix renaming heap allocations adds 35b3404 [clang-tidy] Ignore function context in misc-unused-using-decls. adds 9412885 [include-fixer] added GNU symbols hardcoded header mapping. adds 4ea8aec [include-fixer] fixed a wrong header mapping. adds 67e2c8d [include-fixer] Don't add missing header if the unindentified [...] adds 9162d30 [include-fixer] Be smarter about inserting symbols for a prefix. adds 382ff73 [clang-tidy] modernize-use-auto: don't remove stars by default adds ca07215 [clang-tidy] Do not try to suggest a fix if the parameter is [...] adds 2e636da clang-rename: implement renaming of classes inside static_cast adds e07e2f2 [include-fixer] Mention more details in the document. adds 157efba [clang-tidy] Ignore the deleted function in misc-definitions- [...] adds 90c7d30 [clang-tidy] readability-identifier-naming - Support for Type [...] adds 8e15eca [include-fixer] try to make vim header selection more friendly. adds 862160b Add the misc-misplaced-const check to clang-tidy, which diagn [...] adds b926355 Adding a release note for the misc-misplaced-const check adde [...] adds 27a7665 Fixing a build bot issue with duplicate explicit instantiations. adds 6fec9de [Clang-tidy] Documentation style consistency. adds 31478e6 [Clang-tidy] Alphabetical checks order in release notes. adds 7c44504 [clang-tidy] misc-macro-parentheses - avoid adding parenthese [...] adds 89dabad [include-fixer] do not add enum forward declaration into symb [...] adds 67193ee [clang-tidy] correct clang-tidy-diff.py help message adds 02f0949 [include-fixer] explicitly set minimize-paths in test. adds c05e8bd [include-fixer] Keep dot dot in SymbolInfo file paths. adds 9f768c7 [clang-tidy] misc-argument-comment: don't bail out when an ar [...] adds f54b78b clang-rename: implement renaming of classes inside dynamic_cast adds 2a25dcd Update to match LLVM r272232. adds 8fcd861 [include-fixer] do not index friend function declaration. adds 24876e4 clang-rename: fix the DynamicCastExpr test on ps4 adds e0ac97e [include-fixer] give users an option to show N more headers i [...] adds 1d8536e clang-rename: implement handling of remaining named casts adds 642cef2 [include-fixer] only deduplicate symbols after matching symbo [...] adds 490c294 [include-fixer] remove redundant code. adds 0d6a98c [include-fixer] Correct two wrong header mappings. adds 438a0a5 Apply performance-unnecessary-value-param to clang-tidy. adds 14d36c6 [clang-tidy] Remove dead code. NFC. adds b3857f3 clang-rename: implement renaming of classes with a dtor adds a116a17 [clang-tools] mark TokenName as unused adds 1a08f9f [clang-tidy] misc-move-const-arg: Detect if result of std::mo [...] adds a0e0eb8 [clang-tidy] misc-move-const-arg: Fix typos adds 2141d6a [clang-tidy] readability-identifier-naming - Support for Macros adds 493d815 [clang-tidy] Fix doxygen errors. NFC. adds 4ef522a [clang-tidy] More doc fixes. NFC. new e0f842d Updating branches/google/stable to r273260
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clang-query/tool/ClangQuery.cpp | 2 +- clang-rename/CMakeLists.txt | 1 + clang-rename/RenamingAction.cpp | 2 +- clang-rename/USRLocFinder.cpp | 125 +++- clang-rename/USRLocFinder.h | 5 +- clang-rename/tool/ClangRename.cpp | 2 +- clang-tidy/CMakeLists.txt | 1 + clang-tidy/ClangTidy.cpp | 2 +- clang-tidy/ClangTidy.h | 6 +- clang-tidy/ClangTidyDiagnosticConsumer.cpp | 41 +- clang-tidy/ClangTidyDiagnosticConsumer.h | 3 - clang-tidy/ClangTidyModule.cpp | 2 +- clang-tidy/add_new_check.py | 4 +- clang-tidy/boost/BoostTidyModule.cpp | 38 ++ clang-tidy/boost/CMakeLists.txt | 14 + clang-tidy/boost/UseToStringCheck.cpp | 73 +++ clang-tidy/boost/UseToStringCheck.h | 37 ++ clang-tidy/cert/CERTTidyModule.cpp | 17 +- clang-tidy/cert/CMakeLists.txt | 2 + clang-tidy/cert/StrToNumCheck.cpp | 235 ++++++++ ...taticObjectExceptionCheck.h => StrToNumCheck.h} | 18 +- clang-tidy/cert/ThrownExceptionTypeCheck.cpp | 8 +- .../CppCoreGuidelinesTidyModule.cpp | 4 +- .../ProBoundsArrayToPointerDecayCheck.cpp | 2 + .../ProBoundsArrayToPointerDecayCheck.h | 4 +- .../ProBoundsConstantArrayIndexCheck.cpp | 8 +- .../ProBoundsConstantArrayIndexCheck.h | 6 +- .../ProBoundsPointerArithmeticCheck.cpp | 2 + .../ProBoundsPointerArithmeticCheck.h | 2 + .../cppcoreguidelines/ProTypeConstCastCheck.cpp | 4 +- .../cppcoreguidelines/ProTypeConstCastCheck.h | 4 +- .../cppcoreguidelines/ProTypeCstyleCastCheck.cpp | 2 + .../cppcoreguidelines/ProTypeCstyleCastCheck.h | 2 + .../cppcoreguidelines/ProTypeMemberInitCheck.cpp | 68 +-- .../ProTypeReinterpretCastCheck.cpp | 2 + .../ProTypeReinterpretCastCheck.h | 2 + .../ProTypeStaticCastDowncastCheck.cpp | 4 +- .../ProTypeStaticCastDowncastCheck.h | 4 +- .../cppcoreguidelines/ProTypeUnionAccessCheck.cpp | 2 + .../cppcoreguidelines/ProTypeUnionAccessCheck.h | 2 + .../cppcoreguidelines/ProTypeVarargCheck.cpp | 2 + clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h | 2 + clang-tidy/google/CMakeLists.txt | 1 + clang-tidy/google/DefaultArgumentsCheck.cpp | 36 ++ ...tConstructorCheck.h => DefaultArgumentsCheck.h} | 16 +- clang-tidy/google/ExplicitConstructorCheck.cpp | 3 +- clang-tidy/google/GlobalNamesInHeadersCheck.h | 2 +- clang-tidy/google/GoogleTidyModule.cpp | 3 + clang-tidy/llvm/HeaderGuardCheck.h | 2 +- clang-tidy/misc/ArgumentCommentCheck.cpp | 19 +- clang-tidy/misc/ArgumentCommentCheck.h | 2 - clang-tidy/misc/AssertSideEffectCheck.cpp | 6 +- clang-tidy/misc/AssertSideEffectCheck.h | 2 + .../misc/BoolPointerImplicitConversionCheck.cpp | 19 +- clang-tidy/misc/CMakeLists.txt | 4 +- clang-tidy/misc/DanglingHandleCheck.cpp | 51 +- clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 14 +- clang-tidy/misc/InaccurateEraseCheck.cpp | 11 +- clang-tidy/misc/IncorrectRoundings.cpp | 17 +- clang-tidy/misc/InefficientAlgorithmCheck.cpp | 13 +- clang-tidy/misc/MacroParenthesesCheck.cpp | 61 +- clang-tidy/misc/MacroParenthesesCheck.h | 2 + clang-tidy/misc/MiscTidyModule.cpp | 9 +- clang-tidy/misc/MisplacedConstCheck.cpp | 63 ++ .../{UnusedRAIICheck.h => MisplacedConstCheck.h} | 17 +- clang-tidy/misc/MisplacedWideningCastCheck.cpp | 7 +- clang-tidy/misc/MoveConstantArgumentCheck.cpp | 74 ++- clang-tidy/misc/MoveConstantArgumentCheck.h | 8 +- clang-tidy/misc/MoveConstructorInitCheck.cpp | 22 +- clang-tidy/misc/MoveConstructorInitCheck.h | 6 +- clang-tidy/misc/NewDeleteOverloadsCheck.cpp | 10 +- clang-tidy/misc/NoexceptMoveConstructorCheck.cpp | 2 + clang-tidy/misc/NoexceptMoveConstructorCheck.h | 2 + clang-tidy/misc/NonCopyableObjects.cpp | 5 +- clang-tidy/misc/NonCopyableObjects.h | 2 + clang-tidy/misc/RedundantExpressionCheck.cpp | 109 +++- clang-tidy/misc/SizeofContainerCheck.cpp | 6 +- clang-tidy/misc/SizeofContainerCheck.h | 2 + clang-tidy/misc/SizeofExpressionCheck.cpp | 33 +- clang-tidy/misc/StaticAssertCheck.cpp | 19 +- clang-tidy/misc/StaticAssertCheck.h | 2 + clang-tidy/misc/StringConstructorCheck.cpp | 16 +- clang-tidy/misc/StringIntegerAssignmentCheck.cpp | 2 + clang-tidy/misc/StringIntegerAssignmentCheck.h | 2 + clang-tidy/misc/SuspiciousMissingCommaCheck.cpp | 2 +- clang-tidy/misc/SuspiciousSemicolonCheck.cpp | 2 +- clang-tidy/misc/SuspiciousStringCompareCheck.cpp | 30 +- clang-tidy/misc/SwappedArgumentsCheck.cpp | 45 +- .../misc/ThrowByValueCatchByReferenceCheck.cpp | 2 + .../misc/ThrowByValueCatchByReferenceCheck.h | 2 + ...k.cpp => UnconventionalAssignOperatorCheck.cpp} | 43 +- ...Check.h => UnconventionalAssignOperatorCheck.h} | 15 +- clang-tidy/misc/UndelegatedConstructor.cpp | 5 +- clang-tidy/misc/UniqueptrResetReleaseCheck.cpp | 4 +- clang-tidy/misc/UnusedAliasDeclsCheck.cpp | 2 + clang-tidy/misc/UnusedAliasDeclsCheck.h | 2 + clang-tidy/misc/UnusedParametersCheck.cpp | 3 + clang-tidy/misc/UnusedParametersCheck.h | 2 + clang-tidy/misc/UnusedRAIICheck.cpp | 21 +- clang-tidy/misc/UnusedUsingDeclsCheck.cpp | 89 ++- clang-tidy/misc/UnusedUsingDeclsCheck.h | 23 +- clang-tidy/modernize/AvoidBindCheck.cpp | 163 ++++++ .../{MakeUniqueCheck.h => AvoidBindCheck.h} | 27 +- clang-tidy/modernize/CMakeLists.txt | 4 + clang-tidy/modernize/DeprecatedHeadersCheck.h | 11 +- clang-tidy/modernize/LoopConvertUtils.cpp | 14 - clang-tidy/modernize/LoopConvertUtils.h | 3 - clang-tidy/modernize/MakeSharedCheck.cpp | 31 + clang-tidy/modernize/MakeSharedCheck.h | 43 ++ .../{MakeUniqueCheck.cpp => MakeSmartPtrCheck.cpp} | 81 ++- clang-tidy/modernize/MakeSmartPtrCheck.h | 52 ++ clang-tidy/modernize/MakeUniqueCheck.cpp | 151 +---- clang-tidy/modernize/MakeUniqueCheck.h | 12 +- clang-tidy/modernize/ModernizeTidyModule.cpp | 8 + clang-tidy/modernize/PassByValueCheck.cpp | 68 ++- clang-tidy/modernize/PassByValueCheck.h | 4 +- clang-tidy/modernize/RawStringLiteralCheck.h | 1 - clang-tidy/modernize/RedundantVoidArgCheck.cpp | 5 +- clang-tidy/modernize/ReplaceAutoPtrCheck.cpp | 9 +- clang-tidy/modernize/ReplaceAutoPtrCheck.h | 4 +- clang-tidy/modernize/ShrinkToFitCheck.cpp | 34 +- clang-tidy/modernize/UseAutoCheck.cpp | 51 +- clang-tidy/modernize/UseAutoCheck.h | 7 +- clang-tidy/modernize/UseBoolLiteralsCheck.cpp | 55 ++ .../{MakeUniqueCheck.h => UseBoolLiteralsCheck.h} | 24 +- clang-tidy/modernize/UseDefaultCheck.cpp | 38 +- clang-tidy/modernize/UseNullptrCheck.cpp | 17 +- clang-tidy/performance/FasterStringFindCheck.cpp | 26 +- clang-tidy/performance/ForRangeCopyCheck.cpp | 19 +- clang-tidy/performance/ImplicitCastInLoopCheck.cpp | 5 +- .../performance/UnnecessaryCopyInitialization.cpp | 71 ++- .../performance/UnnecessaryCopyInitialization.h | 4 +- .../performance/UnnecessaryValueParamCheck.cpp | 6 +- clang-tidy/plugin/CMakeLists.txt | 1 + clang-tidy/readability/AvoidConstParamsInDecls.cpp | 19 +- clang-tidy/readability/ElseAfterReturnCheck.cpp | 10 +- clang-tidy/readability/FunctionSizeCheck.cpp | 140 +++-- clang-tidy/readability/FunctionSizeCheck.h | 10 - clang-tidy/readability/IdentifierNamingCheck.cpp | 195 ++++++- clang-tidy/readability/IdentifierNamingCheck.h | 18 +- clang-tidy/readability/ImplicitBoolCastCheck.cpp | 6 +- clang-tidy/readability/ImplicitBoolCastCheck.h | 2 + .../InconsistentDeclarationParameterNameCheck.cpp | 6 +- .../readability/RedundantSmartptrGetCheck.cpp | 2 +- .../readability/RedundantStringCStrCheck.cpp | 9 +- .../readability/RedundantStringInitCheck.cpp | 15 +- .../readability/SimplifyBooleanExprCheck.cpp | 3 +- .../readability/UniqueptrDeleteReleaseCheck.cpp | 12 +- .../readability/UniqueptrDeleteReleaseCheck.h | 6 +- clang-tidy/tool/CMakeLists.txt | 1 + clang-tidy/tool/ClangTidyMain.cpp | 7 +- clang-tidy/tool/clang-tidy-diff.py | 10 +- clang-tidy/utils/CMakeLists.txt | 3 +- clang-tidy/utils/DeclRefExprUtils.cpp | 6 +- clang-tidy/utils/DeclRefExprUtils.h | 15 +- clang-tidy/utils/FixItHintUtils.cpp | 6 +- clang-tidy/utils/FixItHintUtils.h | 10 +- clang-tidy/utils/HeaderFileExtensionsUtils.cpp | 1 + clang-tidy/utils/HeaderFileExtensionsUtils.h | 9 +- clang-tidy/utils/HeaderGuard.cpp | 23 +- clang-tidy/utils/HeaderGuard.h | 20 +- clang-tidy/utils/IncludeInserter.cpp | 10 +- clang-tidy/utils/IncludeInserter.h | 65 ++- clang-tidy/utils/IncludeSorter.cpp | 18 +- clang-tidy/utils/IncludeSorter.h | 60 +- clang-tidy/utils/LexerUtils.cpp | 6 +- clang-tidy/utils/LexerUtils.h | 10 +- clang-tidy/utils/Matchers.h | 9 +- clang-tidy/utils/OptionsUtils.cpp | 38 ++ clang-tidy/utils/OptionsUtils.h | 32 + clang-tidy/utils/TypeTraits.cpp | 27 +- clang-tidy/utils/TypeTraits.h | 11 +- docs/ReleaseNotes.rst | 55 +- docs/clang-tidy/checks/boost-use-to-string.rst | 22 + docs/clang-tidy/checks/cert-err34-c.rst | 28 + .../cppcoreguidelines-pro-type-member-init.rst | 8 +- .../clang-tidy/checks/google-default-arguments.rst | 8 + .../checks/google-global-names-in-headers.rst | 10 + docs/clang-tidy/checks/google-readability-todo.rst | 3 + docs/clang-tidy/checks/google-runtime-int.rst | 2 +- .../checks/google-runtime-references.rst | 2 + docs/clang-tidy/checks/list.rst | 11 +- .../checks/misc-assign-operator-signature.rst | 12 - .../checks/misc-definitions-in-headers.rst | 51 +- .../clang-tidy/checks/misc-incorrect-roundings.rst | 2 + docs/clang-tidy/checks/misc-misplaced-const.rst | 22 + docs/clang-tidy/checks/misc-move-const-arg.rst | 17 +- .../checks/misc-redundant-expression.rst | 1 + .../checks/misc-unconventional-assign-operator.rst | 13 + docs/clang-tidy/checks/misc-virtual-near-miss.rst | 5 +- docs/clang-tidy/checks/modernize-avoid-bind.rst | 38 ++ docs/clang-tidy/checks/modernize-make-shared.rst | 16 + docs/clang-tidy/checks/modernize-use-auto.rst | 21 +- .../checks/modernize-use-bool-literals.rst | 18 + .../checks/performance-implicit-cast-in-loop.rst | 2 + docs/clang-tidy/index.rst | 2 + docs/doxygen.cfg.in | 7 +- docs/include-fixer.rst | 95 +++ docs/index.rst | 1 + include-fixer/CMakeLists.txt | 6 +- ...InMemoryXrefsDB.cpp => InMemorySymbolIndex.cpp} | 15 +- include-fixer/InMemorySymbolIndex.h | 37 ++ include-fixer/InMemoryXrefsDB.h | 36 -- include-fixer/IncludeFixer.cpp | 344 +++++------ include-fixer/IncludeFixer.h | 53 +- include-fixer/IncludeFixerContext.h | 30 + include-fixer/SymbolIndex.h | 38 ++ include-fixer/SymbolIndexManager.cpp | 147 +++++ include-fixer/{XrefsDB.h => SymbolIndexManager.h} | 25 +- include-fixer/YamlSymbolIndex.cpp | 60 ++ include-fixer/YamlSymbolIndex.h | 46 ++ include-fixer/find-all-symbols/CMakeLists.txt | 8 +- include-fixer/find-all-symbols/FindAllMacros.cpp | 37 ++ include-fixer/find-all-symbols/FindAllMacros.h | 47 ++ include-fixer/find-all-symbols/FindAllSymbols.cpp | 141 +++-- include-fixer/find-all-symbols/FindAllSymbols.h | 21 +- .../find-all-symbols/FindAllSymbolsAction.cpp | 32 + .../find-all-symbols/FindAllSymbolsAction.h | 61 ++ .../find-all-symbols/HeaderMapCollector.cpp | 34 ++ .../find-all-symbols/HeaderMapCollector.h | 54 ++ include-fixer/find-all-symbols/PathConfig.cpp | 42 ++ include-fixer/find-all-symbols/PathConfig.h | 37 ++ .../find-all-symbols/PragmaCommentHandler.cpp | 37 ++ .../find-all-symbols/PragmaCommentHandler.h | 41 ++ .../find-all-symbols/STLPostfixHeaderMap.cpp | 650 +++++++++++++++++++++ .../find-all-symbols/STLPostfixHeaderMap.h | 23 + include-fixer/find-all-symbols/SymbolInfo.cpp | 56 +- include-fixer/find-all-symbols/SymbolInfo.h | 102 ++-- include-fixer/find-all-symbols/SymbolReporter.h | 30 + include-fixer/find-all-symbols/tool/CMakeLists.txt | 1 + .../find-all-symbols/tool/FindAllSymbolsMain.cpp | 116 ++-- .../find-all-symbols/tool/run-find-all-symbols.py | 0 include-fixer/tool/CMakeLists.txt | 2 + include-fixer/tool/ClangIncludeFixer.cpp | 240 +++++++- include-fixer/tool/clang-include-fixer.py | 147 +++++ test/CMakeLists.txt | 1 + test/clang-rename/ClassTest.cpp | 15 + test/clang-rename/ConstCastExpr.cpp | 17 + test/clang-rename/ConstructExpr.cpp | 14 + test/clang-rename/CtorDefTest.cpp | 15 + test/clang-rename/CtorInitializerTest.cpp | 20 + test/clang-rename/DeclRefExpr.cpp | 24 + test/clang-rename/DtorDefTest.cpp | 17 + test/clang-rename/DynamicCastExpr.cpp | 25 + test/clang-rename/FieldTest.cpp | 17 + test/clang-rename/MemberExprMacro.cpp | 25 + test/clang-rename/ReinterpretCastExpr.cpp | 17 + test/clang-rename/StaticCastExpr.cpp | 24 + test/clang-rename/VarTest.cpp | 6 +- test/clang-tidy/boost-use-to-string.cpp | 149 +++++ test/clang-tidy/cert-err34-c.c | 103 ++++ test/clang-tidy/cert-err34-c.cpp | 43 ++ ...ppcoreguidelines-pro-type-member-init-cxx98.cpp | 13 +- .../cppcoreguidelines-pro-type-member-init.cpp | 49 +- .../cppcoreguidelines-pro-type-vararg.cpp | 2 +- test/clang-tidy/google-default-arguments.cpp | 29 + test/clang-tidy/misc-argument-comment.cpp | 8 + test/clang-tidy/misc-definitions-in-headers.hpp | 2 + test/clang-tidy/misc-macro-parentheses.cpp | 7 + test/clang-tidy/misc-misplaced-const.c | 45 ++ test/clang-tidy/misc-misplaced-const.cpp | 44 ++ test/clang-tidy/misc-move-const-arg.cpp | 87 +++ test/clang-tidy/misc-move-constructor-init.cpp | 2 +- test/clang-tidy/misc-redundant-expression.cpp | 50 +- test/clang-tidy/misc-string-constructor.cpp | 6 +- test/clang-tidy/misc-swapped-arguments.cpp | 14 +- ...cpp => misc-unconventional-assign-operator.cpp} | 47 +- test/clang-tidy/misc-unused-using-decls.cpp | 103 +++- test/clang-tidy/modernize-avoid-bind.cpp | 70 +++ test/clang-tidy/modernize-make-shared.cpp | 200 +++++++ ...pp => modernize-pass-by-value-macro-header.cpp} | 0 test/clang-tidy/modernize-pass-by-value.cpp | 17 +- ...cpp => modernize-use-auto-new-remove-stars.cpp} | 5 +- test/clang-tidy/modernize-use-auto-new.cpp | 27 +- test/clang-tidy/modernize-use-bool-literals.cpp | 118 ++++ test/clang-tidy/nolint.cpp | 11 +- ...performance-unnecessary-copy-initialization.cpp | 94 ++- .../performance-unnecessary-value-param.cpp | 11 + .../readability-avoid-const-params-in-decls.cpp | 7 + test/clang-tidy/readability-identifier-naming.cpp | 28 +- test/clang-tidy/werrors-diagnostics.cpp | 13 + test/clang-tidy/werrors-plural.cpp | 7 +- test/clang-tidy/werrors.cpp | 4 +- test/include-fixer/Inputs/database_template.json | 7 + test/include-fixer/Inputs/fake_yaml_db.yaml | 53 ++ test/include-fixer/Inputs/merge/a.yaml | 20 + test/include-fixer/Inputs/merge/b.yaml | 20 + test/include-fixer/commandline_options.cpp | 11 + test/include-fixer/exit_on_fatal.cpp | 11 + test/include-fixer/fixeddb.cpp | 2 +- test/include-fixer/include_path.cpp | 20 + test/include-fixer/merge.test | 34 ++ test/include-fixer/prefix_variable.cpp | 11 + test/include-fixer/ranking.cpp | 5 + test/include-fixer/{fixeddb.cpp => yamldb.cpp} | 6 +- test/include-fixer/yamldb_autodetect.cpp | 12 + test/lit.cfg | 2 +- tool-template/ToolTemplate.cpp | 2 +- unittests/clang-tidy/IncludeInserterTest.cpp | 9 +- unittests/include-fixer/CMakeLists.txt | 2 + unittests/include-fixer/IncludeFixerTest.cpp | 187 +++++- .../include-fixer/find-all-symbols/CMakeLists.txt | 2 +- .../find-all-symbols/FindAllSymbolsTests.cpp | 486 ++++++++------- 303 files changed, 7601 insertions(+), 1880 deletions(-) create mode 100644 clang-tidy/boost/BoostTidyModule.cpp create mode 100644 clang-tidy/boost/CMakeLists.txt create mode 100644 clang-tidy/boost/UseToStringCheck.cpp create mode 100644 clang-tidy/boost/UseToStringCheck.h create mode 100644 clang-tidy/cert/StrToNumCheck.cpp copy clang-tidy/cert/{StaticObjectExceptionCheck.h => StrToNumCheck.h} (55%) create mode 100644 clang-tidy/google/DefaultArgumentsCheck.cpp copy clang-tidy/google/{ExplicitConstructorCheck.h => DefaultArgumentsCheck.h} (52%) create mode 100644 clang-tidy/misc/MisplacedConstCheck.cpp copy clang-tidy/misc/{UnusedRAIICheck.h => MisplacedConstCheck.h} (54%) rename clang-tidy/misc/{AssignOperatorSignatureCheck.cpp => UnconventionalAssignOp [...] rename clang-tidy/misc/{AssignOperatorSignatureCheck.h => UnconventionalAssignOper [...] create mode 100644 clang-tidy/modernize/AvoidBindCheck.cpp copy clang-tidy/modernize/{MakeUniqueCheck.h => AvoidBindCheck.h} (50%) create mode 100644 clang-tidy/modernize/MakeSharedCheck.cpp create mode 100644 clang-tidy/modernize/MakeSharedCheck.h copy clang-tidy/modernize/{MakeUniqueCheck.cpp => MakeSmartPtrCheck.cpp} (64%) create mode 100644 clang-tidy/modernize/MakeSmartPtrCheck.h create mode 100644 clang-tidy/modernize/UseBoolLiteralsCheck.cpp copy clang-tidy/modernize/{MakeUniqueCheck.h => UseBoolLiteralsCheck.h} (52%) create mode 100644 clang-tidy/utils/OptionsUtils.cpp create mode 100644 clang-tidy/utils/OptionsUtils.h create mode 100644 docs/clang-tidy/checks/boost-use-to-string.rst create mode 100644 docs/clang-tidy/checks/cert-err34-c.rst create mode 100644 docs/clang-tidy/checks/google-default-arguments.rst delete mode 100644 docs/clang-tidy/checks/misc-assign-operator-signature.rst create mode 100644 docs/clang-tidy/checks/misc-misplaced-const.rst create mode 100644 docs/clang-tidy/checks/misc-unconventional-assign-operator.rst create mode 100644 docs/clang-tidy/checks/modernize-avoid-bind.rst create mode 100644 docs/clang-tidy/checks/modernize-make-shared.rst create mode 100644 docs/clang-tidy/checks/modernize-use-bool-literals.rst create mode 100644 docs/include-fixer.rst rename include-fixer/{InMemoryXrefsDB.cpp => InMemorySymbolIndex.cpp} (54%) create mode 100644 include-fixer/InMemorySymbolIndex.h delete mode 100644 include-fixer/InMemoryXrefsDB.h create mode 100644 include-fixer/IncludeFixerContext.h create mode 100644 include-fixer/SymbolIndex.h create mode 100644 include-fixer/SymbolIndexManager.cpp rename include-fixer/{XrefsDB.h => SymbolIndexManager.h} (55%) create mode 100644 include-fixer/YamlSymbolIndex.cpp create mode 100644 include-fixer/YamlSymbolIndex.h create mode 100644 include-fixer/find-all-symbols/FindAllMacros.cpp create mode 100644 include-fixer/find-all-symbols/FindAllMacros.h create mode 100644 include-fixer/find-all-symbols/FindAllSymbolsAction.cpp create mode 100644 include-fixer/find-all-symbols/FindAllSymbolsAction.h create mode 100644 include-fixer/find-all-symbols/HeaderMapCollector.cpp create mode 100644 include-fixer/find-all-symbols/HeaderMapCollector.h create mode 100644 include-fixer/find-all-symbols/PathConfig.cpp create mode 100644 include-fixer/find-all-symbols/PathConfig.h create mode 100644 include-fixer/find-all-symbols/PragmaCommentHandler.cpp create mode 100644 include-fixer/find-all-symbols/PragmaCommentHandler.h create mode 100644 include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp create mode 100644 include-fixer/find-all-symbols/STLPostfixHeaderMap.h create mode 100644 include-fixer/find-all-symbols/SymbolReporter.h mode change 100644 => 100755 include-fixer/find-all-symbols/tool/run-find-all-symbols.py create mode 100644 include-fixer/tool/clang-include-fixer.py create mode 100644 test/clang-rename/ClassTest.cpp create mode 100644 test/clang-rename/ConstCastExpr.cpp create mode 100644 test/clang-rename/ConstructExpr.cpp create mode 100644 test/clang-rename/CtorDefTest.cpp create mode 100644 test/clang-rename/CtorInitializerTest.cpp create mode 100644 test/clang-rename/DeclRefExpr.cpp create mode 100644 test/clang-rename/DtorDefTest.cpp create mode 100644 test/clang-rename/DynamicCastExpr.cpp create mode 100644 test/clang-rename/FieldTest.cpp create mode 100644 test/clang-rename/MemberExprMacro.cpp create mode 100644 test/clang-rename/ReinterpretCastExpr.cpp create mode 100644 test/clang-rename/StaticCastExpr.cpp create mode 100644 test/clang-tidy/boost-use-to-string.cpp create mode 100644 test/clang-tidy/cert-err34-c.c create mode 100644 test/clang-tidy/cert-err34-c.cpp create mode 100644 test/clang-tidy/google-default-arguments.cpp create mode 100644 test/clang-tidy/misc-misplaced-const.c create mode 100644 test/clang-tidy/misc-misplaced-const.cpp rename test/clang-tidy/{misc-assign-operator-signature.cpp => misc-unconventional- [...] create mode 100644 test/clang-tidy/modernize-avoid-bind.cpp create mode 100644 test/clang-tidy/modernize-make-shared.cpp rename test/clang-tidy/{modernize-pass-by-value-marco-header.cpp => modernize-pass [...] copy test/clang-tidy/{modernize-use-auto-new.cpp => modernize-use-auto-new-remove- [...] create mode 100644 test/clang-tidy/modernize-use-bool-literals.cpp create mode 100644 test/clang-tidy/werrors-diagnostics.cpp create mode 100644 test/include-fixer/Inputs/database_template.json create mode 100644 test/include-fixer/Inputs/fake_yaml_db.yaml create mode 100644 test/include-fixer/Inputs/merge/a.yaml create mode 100644 test/include-fixer/Inputs/merge/b.yaml create mode 100644 test/include-fixer/commandline_options.cpp create mode 100644 test/include-fixer/exit_on_fatal.cpp create mode 100644 test/include-fixer/include_path.cpp create mode 100644 test/include-fixer/merge.test create mode 100644 test/include-fixer/prefix_variable.cpp create mode 100644 test/include-fixer/ranking.cpp copy test/include-fixer/{fixeddb.cpp => yamldb.cpp} (51%) create mode 100644 test/include-fixer/yamldb_autodetect.cpp