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 8186bf0 Updating branches/google/stable to r263175 adds 2320d43 [clang-tidy] Make 'modernize-use-nullptr' check ignores NULL [...] adds b0ef849 [clang-tidy] Fix "Name is not a simple identifier" assertion [...] adds 6c2ee4e Fix Clang-tidy modernize-deprecated-headers warnings; other m [...] adds 5e36674 [clang-tidy] Use hasAnyName() instead of matchesName(). adds 40ca895 [clang-tidy] Update check for API change in r263895. adds 9c31a56 [clang-tidy] Fix check broken in rL263822. adds 345b712 Fixed some cases in the modularize assistant mode where heade [...] adds 6fc0622 Fix crashes from delayed template parsing code that assumed g [...] adds 732f733 Moving files that were placed in the wrong directory from r264049. adds e013eab [clang-tidy] Fix redundant-string-init check with msvc 14 headers. adds 091a31e [clang-tidy] Skip reporting of not applicable fixes. adds 6fdb0e6 [clang-tidy] Fix redundant-string-cstr check with msvc 14 headers. adds 6e4459e [clang-tidy] Fix broken test with redundant string init (msvc). adds 82eed71 Add check for unneeded copies of locals adds df5cd18 [clang-tidy] misc-assign-operator-signature checker checks re [...] adds 18c46d0 [clang-tidy] Add support for different char-types for the rea [...] adds 37a03db clang-tools-extra/test/clang-tidy/readability-redundant-strin [...] adds 07d1d87 Fixup -- "-target x86_64-unknown -fno-ms-compatibility" didn' [...] adds fe52e10 3rd attempt of fixup with -std=c++11 adds b6d920f Add clang-tools-extra release notes adds 84d0739 clang-tidy: Add check modernize-raw-string-literal adds 3b802fd clang-tidy: Fix broken buildbot adds 4e74ed2 [clang-tidy] Add performance check to flag function parameter [...] adds 2f39d01 [clang-tidy] Add check to detect dangling references in value [...] adds a1f0b8e [clang-tidy] readability check for const params in declarations adds 385900d [docs] Added 3.8 clang-tidy release notes, fixed formatting. adds 73573a2 [clang-tidy] Adjust dangling references check to ASTMatcher changes. adds 99be39d [clang-tidy] Fix MSVC build. adds 437cccf Update copyright year to 2016. adds 5ea21d1 note for top-level consts in function decls tidy adds 6ba94b4 [docs] Fix a typo, change the style of the clang-tidy release [...] adds 5e64620 [clang-tidy] Add a new checker to detect missing comma in ini [...] adds a08b1fc Update release notes with list of checks added since 3.8. adds 87fb19b [clang-tidy] Don't delete unused parameter in class override [...] adds 3134a3e [Clang-tidy] Improve checks documentation consistency. adds a1c0200 [clang-tidy] Update an example. NFC. adds 92258c7 [clang-tidy] fix a couple of modernize-use-override bugs adds 623c3e8 [clang-tidy] Reduce false-positive ratio in misc-suspicious-m [...] adds 34ea60a [clang-tidy] Fix documentation of misc-suspicious-missing-comma adds f290123 [clang-tidy] Add a check to detect static definitions in anon [...] adds 8eff102 [clang-tidy] Extension of checker misc-misplaced-widening-cast adds 73d46bf [clang-tidy] fix building clang-tidy documentation. adds d37e72b [clang-tidy] filter plugins and plugin arguments of the command-line adds f8f3bc5 [clang-tidy] Assertion fix in misc-misplaced-widening-cast check. adds 575a1a8 [docs] Update version (http://llvm.org/PR27253) adds d374c07 [clang-tidy] Fix FP with readability-redundant-string-init fo [...] adds 4d4725d [clang-tidy] Fix infinite loop in MisplacedWideningCastCheck. adds 4504868 [clang-tidy] Remove unnecessary getName() on Decls and Types [...] adds b71a741 [clang-tidy] fix a crash with -fdelayed-template-parsing in U [...] adds 56faca0 [clang-tidy] add new checker for string literal with NUL character. adds 510604c Mention readability-static-definition-in-anonymous-namespace [...] adds a919b26 [clang-tidy] cppcoreguidelines-interfaces-global-init adds b66ea95 [Release Notes] Sort checks alphabetically. adds 75181d5 [clang-tidy] fix readability-avoid-const-params-in-decls crea [...] adds 4b273f7 [clang-tidy] add_new_check.py should fail if check name start [...] adds d6f8bcc [clang-tidy] Add a readability-deleted-default clang-tidy check. adds 9c1474b Complete support for C++ Core Guidelines Type.6: Always initi [...] adds 4b3c21a clang-tools-extra/test/clang-tidy/readability-deleted-default [...] adds e9e6148 [clang-tidy] Fix documentation generation. adds 077a73a Add support for type aliases to modernize-redundant-void-arg.cpp adds 655a621 [clang-tidy] Add check misc-multiple-statement-macro adds 711e372 [clang-tidy] Add checker for operations between integrals and [...] adds d619024 [clang-tidy] Add new checker for suspicious sizeof expressions adds fb22ea8 [Release Notes] mention Clang-tidy misc-multiple-statement-ma [...] adds 23b204f [clang-tidy] Add more detection rules for redundant c_str calls. adds c2a6391 Add missing override keyword to silence -Winconsistent-missin [...] adds 5778510 Replace hardcoded comment at 'lit.site.cfg.in' adds 9bd1811 [clang-tidy] readability-container-size-empty fixes adds 8180dc9 Initial version of misc-unused-using-decl check. adds dfa5357 [Release Notes] Mention Clang-tidy misc-unused-using-decls check. adds 8a12043 [Clang-tidy] Fix extra semicolon warning in cppcoreguidelines [...] adds 633d674 Fix a crash in cppcoreguidelines-pro-type-member-init related [...] adds a2a9da6 clang-tidy: [misc-unused-using-decls] Always use the canonica [...] adds 92463f0 clang-tidy: [misc-unused-using-decls] Support template types. adds cf8ed12 [include-fixer] Add a prototype for a new include fixing tool. adds d8689d1 IncludeFixerTest.cpp: Tweak not to assume clang-tools-extra w [...] adds 0543069 Fix cast compiler warning message in include-fixer. adds d1f3b6c [Clang-tidy] Fix for crash in modernize-raw-string-literal check adds 4ad9607 [clang-tidy] Cleanup some ast-matchers and lift some to utils. adds ce3ece3 [clang-tidy] Add new checker for comparison with runtime stri [...] adds ca213c1 [clang-tidy] New checker to detect suspicious string constructor. adds 16cf66a [Release Notes] Mention Clang-tidy misc-string-constructor an [...] adds 910e775 [clang-tidy] Fix broken build bot. adds 98d6ff1 clangTidyReadabilityModule: Add clangTidyUtils in libdeps, co [...] adds 4f8a4ad [clang-tidy] fix link in Release Notes adds e4e1c0e [Clang-tidy] Fix Clang warning in misc/StringConstructorCheck.h. adds 4345dad [clang-tidy] Fix misc-macro-repeated-side-effects false posit [...] adds 46f5639 clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp: Use [...] adds 186b9c6 A clang-tidy check for std:accumulate. adds 46085a7 [clang-tidy] Enhance misc-suspicious-string-compare to move d [...] adds bec6447 [clang-tidy] New checker for redundant expressions. adds 83addc4 [Release notes] Mention Clang-tidy misc-fold-init-type check. adds 2bb621a [clang-tidy] Added misc-move-const-arg docs. adds 60e27af [clang-tidy] Now adding correct misc-move-const-arg documentation ;] adds 67b26d6 [ClangTidy] Add an 'explain-checks' option to diagnose where [...] adds 5de88d6 Don't search compilation database in explain-check test. adds c471abc clang-tidy -list-checks should exit with non-zero code when n [...] adds 0dcfb3a Fix a crash in cppcoreguidelines-pro-type-member-init when ch [...] adds defdbb3 Remove explain-config testcase that detect hard-coded check. adds 952a4e3 Clean up the include fixer 'driver' a bit and make the databa [...] adds 5096bca [include-fixer] Add a find-all-symbols tool for include-fixer. adds 7e310d1 Add missing dependency. adds 374711c Don't search compilation database in explain-check, fixing bu [...] adds 6c51024 Fix explain-check failure test on Windows. adds 619c27a [find-all-symbols] Clean up dependencies, fixing cmake shared build. adds bed80b3 [find-all-symbols] Also update unittest dependencies. adds f237ae1 Fix a bunch of sign-compare warnings new 19a48cb Updating branches/google/stable to r267754
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: CMakeLists.txt | 1 + LICENSE.TXT | 2 +- clang-query/QueryParser.h | 4 +- clang-rename/RenamingAction.cpp | 7 +- clang-rename/USRFindingAction.cpp | 3 - clang-rename/tool/ClangRename.cpp | 6 +- clang-tidy/ClangTidy.cpp | 69 ++- clang-tidy/ClangTidyOptions.cpp | 74 +++- clang-tidy/ClangTidyOptions.h | 46 +- clang-tidy/add_new_check.py | 51 ++- clang-tidy/cppcoreguidelines/CMakeLists.txt | 1 + .../CppCoreGuidelinesTidyModule.cpp | 3 + .../InterfacesGlobalInitCheck.cpp | 59 +++ ...DowncastCheck.h => InterfacesGlobalInitCheck.h} | 18 +- .../ProBoundsArrayToPointerDecayCheck.cpp | 6 +- .../cppcoreguidelines/ProTypeMemberInitCheck.cpp | 467 +++++++++++++++------ .../cppcoreguidelines/ProTypeMemberInitCheck.h | 43 +- clang-tidy/google/NonConstReferences.cpp | 4 +- clang-tidy/misc/AssignOperatorSignatureCheck.cpp | 15 +- .../misc/BoolPointerImplicitConversionCheck.cpp | 6 +- clang-tidy/misc/CMakeLists.txt | 13 +- clang-tidy/misc/DanglingHandleCheck.cpp | 186 ++++++++ clang-tidy/misc/DanglingHandleCheck.h | 43 ++ clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 11 +- clang-tidy/misc/FoldInitTypeCheck.cpp | 140 ++++++ clang-tidy/misc/FoldInitTypeCheck.h | 44 ++ .../misc/ForwardDeclarationNamespaceCheck.cpp | 18 +- clang-tidy/misc/IncorrectRoundings.cpp | 7 +- clang-tidy/misc/InefficientAlgorithmCheck.cpp | 14 +- clang-tidy/misc/MacroParenthesesCheck.cpp | 4 +- clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp | 15 +- clang-tidy/misc/MiscTidyModule.cpp | 33 ++ clang-tidy/misc/MisplacedWideningCastCheck.cpp | 163 +++++-- clang-tidy/misc/MisplacedWideningCastCheck.h | 20 +- clang-tidy/misc/MoveConstantArgumentCheck.cpp | 19 +- clang-tidy/misc/MultipleStatementMacroCheck.cpp | 106 +++++ clang-tidy/misc/MultipleStatementMacroCheck.h | 37 ++ clang-tidy/misc/NonCopyableObjects.cpp | 10 +- .../misc/PointerAndIntegralOperationCheck.cpp | 104 +++++ ...ICheck.h => PointerAndIntegralOperationCheck.h} | 16 +- clang-tidy/misc/RedundantExpressionCheck.cpp | 133 ++++++ ...nusedRAIICheck.h => RedundantExpressionCheck.h} | 16 +- clang-tidy/misc/SizeofExpressionCheck.cpp | 262 ++++++++++++ clang-tidy/misc/SizeofExpressionCheck.h | 40 ++ clang-tidy/misc/StringConstructorCheck.cpp | 126 ++++++ clang-tidy/misc/StringConstructorCheck.h | 39 ++ .../misc/StringLiteralWithEmbeddedNulCheck.cpp | 83 ++++ ...Check.h => StringLiteralWithEmbeddedNulCheck.h} | 17 +- clang-tidy/misc/SuspiciousMissingCommaCheck.cpp | 126 ++++++ clang-tidy/misc/SuspiciousMissingCommaCheck.h | 43 ++ clang-tidy/misc/SuspiciousStringCompareCheck.cpp | 227 ++++++++++ clang-tidy/misc/SuspiciousStringCompareCheck.h | 40 ++ clang-tidy/misc/UnusedAliasDeclsCheck.cpp | 5 +- clang-tidy/misc/UnusedAliasDeclsCheck.h | 1 + clang-tidy/misc/UnusedParametersCheck.cpp | 27 +- clang-tidy/misc/UnusedUsingDeclsCheck.cpp | 79 ++++ clang-tidy/misc/UnusedUsingDeclsCheck.h | 41 ++ clang-tidy/modernize/CMakeLists.txt | 1 + clang-tidy/modernize/LoopConvertUtils.cpp | 4 +- clang-tidy/modernize/ModernizeTidyModule.cpp | 3 + clang-tidy/modernize/RawStringLiteralCheck.cpp | 141 +++++++ clang-tidy/modernize/RawStringLiteralCheck.h | 45 ++ clang-tidy/modernize/RedundantVoidArgCheck.cpp | 28 +- clang-tidy/modernize/RedundantVoidArgCheck.h | 5 +- clang-tidy/modernize/ShrinkToFitCheck.cpp | 19 +- clang-tidy/modernize/UseNullptrCheck.cpp | 6 + clang-tidy/modernize/UseOverrideCheck.cpp | 20 +- clang-tidy/performance/CMakeLists.txt | 1 + clang-tidy/performance/FasterStringFindCheck.cpp | 9 +- clang-tidy/performance/ImplicitCastInLoopCheck.cpp | 10 +- clang-tidy/performance/PerformanceTidyModule.cpp | 3 + .../performance/UnnecessaryCopyInitialization.cpp | 111 +++-- .../performance/UnnecessaryCopyInitialization.h | 6 + .../performance/UnnecessaryValueParamCheck.cpp | 91 ++++ ...itialization.h => UnnecessaryValueParamCheck.h} | 25 +- clang-tidy/readability/AvoidConstParamsInDecls.cpp | 104 +++++ ...StringCStrCheck.h => AvoidConstParamsInDecls.h} | 16 +- clang-tidy/readability/CMakeLists.txt | 4 + clang-tidy/readability/ContainerSizeEmptyCheck.cpp | 60 +-- clang-tidy/readability/DeletedDefaultCheck.cpp | 69 +++ clang-tidy/readability/DeletedDefaultCheck.h | 36 ++ clang-tidy/readability/FunctionSizeCheck.cpp | 4 +- clang-tidy/readability/ImplicitBoolCastCheck.cpp | 8 +- clang-tidy/readability/ReadabilityTidyModule.cpp | 9 + .../readability/RedundantStringCStrCheck.cpp | 123 ++++-- .../readability/RedundantStringInitCheck.cpp | 48 ++- .../StaticDefinitionInAnonymousNamespaceCheck.cpp | 72 ++++ .../StaticDefinitionInAnonymousNamespaceCheck.h | 35 ++ clang-tidy/tool/ClangTidyMain.cpp | 35 +- clang-tidy/utils/Matchers.h | 17 + clang-tidy/utils/TypeTraits.cpp | 75 ++++ clang-tidy/utils/TypeTraits.h | 7 + docs/ReleaseNotes.rst | 341 +++++++++++++++ docs/clang-tidy/checks/cert-err52-cpp.rst | 2 +- docs/clang-tidy/checks/cert-err58-cpp.rst | 4 +- docs/clang-tidy/checks/cert-flp30-c.rst | 4 +- .../cppcoreguidelines-interfaces-global-init.rst | 14 + ...eguidelines-pro-bounds-constant-array-index.rst | 5 +- .../cppcoreguidelines-pro-type-member-init.rst | 37 +- .../checks/google-build-explicit-make-pair.rst | 2 +- docs/clang-tidy/checks/google-build-namespaces.rst | 4 +- .../checks/google-build-using-namespace.rst | 5 +- .../checks/google-global-names-in-headers.rst | 3 +- ...google-readability-braces-around-statements.rst | 31 +- .../checks/google-readability-casting.rst | 7 +- .../checks/google-readability-function-size.rst | 17 +- docs/clang-tidy/checks/google-readability-todo.rst | 3 +- docs/clang-tidy/checks/google-runtime-int.rst | 3 +- .../google-runtime-member-string-references.rst | 3 +- docs/clang-tidy/checks/google-runtime-memset.rst | 8 +- docs/clang-tidy/checks/google-runtime-operator.rst | 3 +- docs/clang-tidy/checks/list.rst | 23 +- docs/clang-tidy/checks/misc-assert-side-effect.rst | 11 +- .../misc-bool-pointer-implicit-conversion.rst | 5 +- docs/clang-tidy/checks/misc-dangling-handle.rst | 34 ++ docs/clang-tidy/checks/misc-fold-init-type.rst | 27 ++ .../checks/misc-misplaced-widening-cast.rst | 19 +- docs/clang-tidy/checks/misc-move-const-arg.rst | 15 + .../checks/misc-multiple-statement-macro.rst | 16 + .../checks/misc-new-delete-overloads.rst | 11 +- .../checks/misc-non-copyable-objects.rst | 4 +- .../checks/misc-pointer-and-integral-operation.rst | 24 ++ .../checks/misc-redundant-expression.rst | 20 + docs/clang-tidy/checks/misc-sizeof-expression.rst | 137 ++++++ docs/clang-tidy/checks/misc-static-assert.rst | 2 +- docs/clang-tidy/checks/misc-string-constructor.rst | 35 ++ .../misc-string-literal-with-embedded-nul.rst | 38 ++ .../checks/misc-suspicious-missing-comma.rst | 44 ++ .../checks/misc-suspicious-semicolon.rst | 14 +- .../checks/misc-suspicious-string-compare.rst | 40 ++ .../misc-throw-by-value-catch-by-reference.rst | 2 +- docs/clang-tidy/checks/misc-unused-parameters.rst | 3 +- docs/clang-tidy/checks/misc-unused-using-decls.rst | 14 + docs/clang-tidy/checks/modernize-loop-convert.rst | 12 +- docs/clang-tidy/checks/modernize-pass-by-value.rst | 2 +- .../checks/modernize-raw-string-literal.rst | 46 ++ docs/clang-tidy/checks/modernize-use-auto.rst | 2 +- docs/clang-tidy/checks/modernize-use-nullptr.rst | 4 +- .../checks/performance-faster-string-find.rst | 4 +- .../checks/performance-implicit-cast-in-loop.rst | 7 +- ...performance-unnecessary-copy-initialization.rst | 15 +- .../checks/performance-unnecessary-value-param.rst | 33 ++ .../readability-avoid-const-params-in-decls.rst | 17 + .../readability-braces-around-statements.rst | 6 +- .../checks/readability-deleted-default.rst | 22 + .../checks/readability-function-size.rst | 13 +- .../checks/readability-identifier-naming.rst | 5 +- .../checks/readability-named-parameter.rst | 3 +- .../checks/readability-redundant-control-flow.rst | 9 +- ...ty-static-definition-in-anonymous-namespace.rst | 18 + docs/conf.py | 4 +- docs/index.rst | 4 + include-fixer/CMakeLists.txt | 21 + include-fixer/InMemoryXrefsDB.cpp | 23 + include-fixer/InMemoryXrefsDB.h | 36 ++ include-fixer/IncludeFixer.cpp | 309 ++++++++++++++ include-fixer/IncludeFixer.h | 46 ++ include-fixer/XrefsDB.h | 38 ++ .../find-all-symbols}/CMakeLists.txt | 12 +- include-fixer/find-all-symbols/FindAllSymbols.cpp | 193 +++++++++ include-fixer/find-all-symbols/FindAllSymbols.h | 56 +++ include-fixer/find-all-symbols/SymbolInfo.cpp | 121 ++++++ include-fixer/find-all-symbols/SymbolInfo.h | 100 +++++ include-fixer/find-all-symbols/tool/CMakeLists.txt | 12 + .../find-all-symbols/tool/FindAllSymbolsMain.cpp | 122 ++++++ .../find-all-symbols/tool/run-find-all-symbols.py | 124 ++++++ include-fixer/tool/CMakeLists.txt | 11 + include-fixer/tool/ClangIncludeFixer.cpp | 84 ++++ modularize/ModuleAssistant.cpp | 15 +- pp-trace/PPCallbacksTracker.cpp | 8 +- test/CMakeLists.txt | 3 +- test/Unit/lit.site.cfg.in | 4 +- test/clang-tidy/Inputs/explain-config/.clang-tidy | 1 + test/clang-tidy/check_clang_tidy.py | 2 +- .../cppcoreguidelines-interfaces-global-init.cpp | 84 ++++ ...ppcoreguidelines-pro-type-member-init-cxx98.cpp | 48 ++- ...coreguidelines-pro-type-member-init-delayed.cpp | 32 ++ .../cppcoreguidelines-pro-type-member-init.cpp | 257 +++++++++++- test/clang-tidy/explain-checks.cpp | 12 + test/clang-tidy/misc-assign-operator-signature.cpp | 2 + test/clang-tidy/misc-dangling-handle.cpp | 191 +++++++++ test/clang-tidy/misc-definitions-in-headers.hpp | 4 +- test/clang-tidy/misc-fold-init-type.cpp | 158 +++++++ test/clang-tidy/misc-inefficient-algorithm.cpp | 24 ++ test/clang-tidy/misc-macro-parentheses-cmdline.cpp | 10 + ...-macro.c => misc-macro-repeated-side-effects.c} | 5 + .../misc-misplaced-widening-cast-explicit-only.cpp | 58 +++ test/clang-tidy/misc-misplaced-widening-cast.cpp | 56 ++- ...{move-const-arg.cpp => misc-move-const-arg.cpp} | 8 +- test/clang-tidy/misc-multiple-statement-macro.cpp | 85 ++++ .../misc-pointer-and-integral-operation-cxx98.cpp | 45 ++ .../misc-pointer-and-integral-operation.cpp | 30 ++ test/clang-tidy/misc-redundant-expression.cpp | 120 ++++++ test/clang-tidy/misc-sizeof-expression.cpp | 186 ++++++++ test/clang-tidy/misc-string-constructor.cpp | 54 +++ .../misc-string-literal-with-embedded-nul.cpp | 85 ++++ test/clang-tidy/misc-suspicious-missing-comma.cpp | 82 ++++ test/clang-tidy/misc-suspicious-string-compare.c | 79 ++++ test/clang-tidy/misc-suspicious-string-compare.cpp | 337 +++++++++++++++ test/clang-tidy/misc-unused-parameters.cpp | 10 + test/clang-tidy/misc-unused-using-decls.cpp | 35 ++ test/clang-tidy/modernize-loop-convert-basic.cpp | 4 + .../modernize-raw-string-literal-delimiter.cpp | 9 + test/clang-tidy/modernize-raw-string-literal.cpp | 129 ++++++ .../modernize-redundant-void-arg-delayed.cpp | 28 ++ test/clang-tidy/modernize-redundant-void-arg.cpp | 6 + test/clang-tidy/modernize-use-nullptr.cpp | 10 + test/clang-tidy/modernize-use-override-ms.cpp | 25 ++ test/clang-tidy/modernize-use-override.cpp | 7 +- test/clang-tidy/performance-faster-string-find.cpp | 26 +- ...performance-unnecessary-copy-initialization.cpp | 155 ++++++- ...performance-unnecessary-value-param-delayed.cpp | 171 ++++++++ .../performance-unnecessary-value-param.cpp | 171 ++++++++ .../readability-avoid-const-params-in-decls.cpp | 85 ++++ .../readability-container-size-empty.cpp | 23 + test/clang-tidy/readability-deleted-default.cpp | 127 ++++++ ... => readability-redundant-string-cstr-msvc.cpp} | 4 +- .../readability-redundant-string-cstr.cpp | 164 +++++++- ... => readability-redundant-string-init-msvc.cpp} | 31 +- .../readability-redundant-string-init.cpp | 54 +++ ...ty-static-definition-in-anonymous-namespace.cpp | 49 +++ test/include-fixer/fixeddb.cpp | 9 + test/lit.site.cfg.in | 4 +- test/modularize/NoProblemsAssistant.modularize | 5 + unittests/CMakeLists.txt | 1 + unittests/clang-rename/USRLocFindingTest.cpp | 7 +- unittests/include-fixer/CMakeLists.txt | 27 ++ unittests/include-fixer/IncludeFixerTest.cpp | 87 ++++ .../include-fixer/find-all-symbols/CMakeLists.txt | 23 + .../find-all-symbols/FindAllSymbolsTests.cpp | 364 ++++++++++++++++ 230 files changed, 10102 insertions(+), 844 deletions(-) create mode 100644 clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp copy clang-tidy/cppcoreguidelines/{ProTypeStaticCastDowncastCheck.h => InterfacesG [...] create mode 100644 clang-tidy/misc/DanglingHandleCheck.cpp create mode 100644 clang-tidy/misc/DanglingHandleCheck.h create mode 100644 clang-tidy/misc/FoldInitTypeCheck.cpp create mode 100644 clang-tidy/misc/FoldInitTypeCheck.h create mode 100644 clang-tidy/misc/MultipleStatementMacroCheck.cpp create mode 100644 clang-tidy/misc/MultipleStatementMacroCheck.h create mode 100644 clang-tidy/misc/PointerAndIntegralOperationCheck.cpp copy clang-tidy/misc/{UnusedRAIICheck.h => PointerAndIntegralOperationCheck.h} (52%) create mode 100644 clang-tidy/misc/RedundantExpressionCheck.cpp copy clang-tidy/misc/{UnusedRAIICheck.h => RedundantExpressionCheck.h} (55%) create mode 100644 clang-tidy/misc/SizeofExpressionCheck.cpp create mode 100644 clang-tidy/misc/SizeofExpressionCheck.h create mode 100644 clang-tidy/misc/StringConstructorCheck.cpp create mode 100644 clang-tidy/misc/StringConstructorCheck.h create mode 100644 clang-tidy/misc/StringLiteralWithEmbeddedNulCheck.cpp copy clang-tidy/misc/{SuspiciousSemicolonCheck.h => StringLiteralWithEmbeddedNulCh [...] create mode 100644 clang-tidy/misc/SuspiciousMissingCommaCheck.cpp create mode 100644 clang-tidy/misc/SuspiciousMissingCommaCheck.h create mode 100644 clang-tidy/misc/SuspiciousStringCompareCheck.cpp create mode 100644 clang-tidy/misc/SuspiciousStringCompareCheck.h create mode 100644 clang-tidy/misc/UnusedUsingDeclsCheck.cpp create mode 100644 clang-tidy/misc/UnusedUsingDeclsCheck.h create mode 100644 clang-tidy/modernize/RawStringLiteralCheck.cpp create mode 100644 clang-tidy/modernize/RawStringLiteralCheck.h create mode 100644 clang-tidy/performance/UnnecessaryValueParamCheck.cpp copy clang-tidy/performance/{UnnecessaryCopyInitialization.h => UnnecessaryValuePa [...] create mode 100644 clang-tidy/readability/AvoidConstParamsInDecls.cpp copy clang-tidy/readability/{RedundantStringCStrCheck.h => AvoidConstParamsInDecls [...] create mode 100644 clang-tidy/readability/DeletedDefaultCheck.cpp create mode 100644 clang-tidy/readability/DeletedDefaultCheck.h create mode 100644 clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.cpp create mode 100644 clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h create mode 100644 docs/ReleaseNotes.rst create mode 100644 docs/clang-tidy/checks/cppcoreguidelines-interfaces-global-init.rst create mode 100644 docs/clang-tidy/checks/misc-dangling-handle.rst create mode 100644 docs/clang-tidy/checks/misc-fold-init-type.rst create mode 100644 docs/clang-tidy/checks/misc-move-const-arg.rst create mode 100644 docs/clang-tidy/checks/misc-multiple-statement-macro.rst create mode 100644 docs/clang-tidy/checks/misc-pointer-and-integral-operation.rst create mode 100644 docs/clang-tidy/checks/misc-redundant-expression.rst create mode 100644 docs/clang-tidy/checks/misc-sizeof-expression.rst create mode 100644 docs/clang-tidy/checks/misc-string-constructor.rst create mode 100644 docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst create mode 100644 docs/clang-tidy/checks/misc-suspicious-missing-comma.rst create mode 100644 docs/clang-tidy/checks/misc-suspicious-string-compare.rst create mode 100644 docs/clang-tidy/checks/misc-unused-using-decls.rst create mode 100644 docs/clang-tidy/checks/modernize-raw-string-literal.rst create mode 100644 docs/clang-tidy/checks/performance-unnecessary-value-param.rst create mode 100644 docs/clang-tidy/checks/readability-avoid-const-params-in-decls.rst create mode 100644 docs/clang-tidy/checks/readability-deleted-default.rst create mode 100644 docs/clang-tidy/checks/readability-static-definition-in-anonymo [...] create mode 100644 include-fixer/CMakeLists.txt create mode 100644 include-fixer/InMemoryXrefsDB.cpp create mode 100644 include-fixer/InMemoryXrefsDB.h create mode 100644 include-fixer/IncludeFixer.cpp create mode 100644 include-fixer/IncludeFixer.h create mode 100644 include-fixer/XrefsDB.h copy {clang-query => include-fixer/find-all-symbols}/CMakeLists.txt (53%) create mode 100644 include-fixer/find-all-symbols/FindAllSymbols.cpp create mode 100644 include-fixer/find-all-symbols/FindAllSymbols.h create mode 100644 include-fixer/find-all-symbols/SymbolInfo.cpp create mode 100644 include-fixer/find-all-symbols/SymbolInfo.h create mode 100644 include-fixer/find-all-symbols/tool/CMakeLists.txt create mode 100644 include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp create mode 100644 include-fixer/find-all-symbols/tool/run-find-all-symbols.py create mode 100644 include-fixer/tool/CMakeLists.txt create mode 100644 include-fixer/tool/ClangIncludeFixer.cpp create mode 100644 test/clang-tidy/Inputs/explain-config/.clang-tidy create mode 100644 test/clang-tidy/cppcoreguidelines-interfaces-global-init.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-pro-type-member-init-delayed.cpp create mode 100644 test/clang-tidy/explain-checks.cpp create mode 100644 test/clang-tidy/misc-dangling-handle.cpp create mode 100644 test/clang-tidy/misc-fold-init-type.cpp create mode 100644 test/clang-tidy/misc-macro-parentheses-cmdline.cpp rename test/clang-tidy/{misc-repeated-side-effects-in-macro.c => misc-macro-repeat [...] create mode 100644 test/clang-tidy/misc-misplaced-widening-cast-explicit-only.cpp rename test/clang-tidy/{move-const-arg.cpp => misc-move-const-arg.cpp} (87%) create mode 100644 test/clang-tidy/misc-multiple-statement-macro.cpp create mode 100644 test/clang-tidy/misc-pointer-and-integral-operation-cxx98.cpp create mode 100644 test/clang-tidy/misc-pointer-and-integral-operation.cpp create mode 100644 test/clang-tidy/misc-redundant-expression.cpp create mode 100644 test/clang-tidy/misc-sizeof-expression.cpp create mode 100644 test/clang-tidy/misc-string-constructor.cpp create mode 100644 test/clang-tidy/misc-string-literal-with-embedded-nul.cpp create mode 100644 test/clang-tidy/misc-suspicious-missing-comma.cpp create mode 100644 test/clang-tidy/misc-suspicious-string-compare.c create mode 100644 test/clang-tidy/misc-suspicious-string-compare.cpp create mode 100644 test/clang-tidy/misc-unused-using-decls.cpp create mode 100644 test/clang-tidy/modernize-raw-string-literal-delimiter.cpp create mode 100644 test/clang-tidy/modernize-raw-string-literal.cpp create mode 100644 test/clang-tidy/modernize-redundant-void-arg-delayed.cpp create mode 100644 test/clang-tidy/modernize-use-override-ms.cpp create mode 100644 test/clang-tidy/performance-unnecessary-value-param-delayed.cpp create mode 100644 test/clang-tidy/performance-unnecessary-value-param.cpp create mode 100644 test/clang-tidy/readability-avoid-const-params-in-decls.cpp create mode 100644 test/clang-tidy/readability-deleted-default.cpp copy test/clang-tidy/{readability-redundant-string-cstr.cpp => readability-redunda [...] copy test/clang-tidy/{readability-redundant-string-init.cpp => readability-redunda [...] create mode 100644 test/clang-tidy/readability-static-definition-in-anonymous-name [...] create mode 100644 test/include-fixer/fixeddb.cpp create mode 100644 unittests/include-fixer/CMakeLists.txt create mode 100644 unittests/include-fixer/IncludeFixerTest.cpp create mode 100644 unittests/include-fixer/find-all-symbols/CMakeLists.txt create mode 100644 unittests/include-fixer/find-all-symbols/FindAllSymbolsTests.cpp