[PATCH] D40426: [clang-tidy] Move a few more checks from misc to bugprone.

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 04:39:39 PST 2017


alexfh created this revision.
Herald added subscribers: kbarton, xazax.hun, javed.absar, mgorny, nemanjai.

clang_tidy/rename_check.py misc-assert-side-effect bugprone-assert-side-effect
clang_tidy/rename_check.py misc-bool-pointer-implicit-conversion bugprone-bool-pointer-implicit-conversion
clang_tidy/rename_check.py misc-fold-init-type bugprone-fold-init-type
clang_tidy/rename_check.py misc-forward-declaration-namespace bugprone-forward-declaration-namespace
clang_tidy/rename_check.py misc-inaccurate-erase bugprone-inaccurate-erase
clang_tidy/rename_check.py misc-move-forwarding-reference bugprone-move-forwarding-reference
clang_tidy/rename_check.py misc-multiple-statement-macro bugprone-multiple-statement-macro
clang_tidy/rename_check.py misc-use-after-move bugprone-use-after-move
clang_tidy/rename_check.py misc-virtual-near-miss bugprone-virtual-near-miss

Manually fix a reference to UseAfterMoveCheck in the hicpp module.


https://reviews.llvm.org/D40426

Files:
  clang-tidy/bugprone/AssertSideEffectCheck.cpp
  clang-tidy/bugprone/AssertSideEffectCheck.h
  clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp
  clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h
  clang-tidy/bugprone/BugproneTidyModule.cpp
  clang-tidy/bugprone/CMakeLists.txt
  clang-tidy/bugprone/FoldInitTypeCheck.cpp
  clang-tidy/bugprone/FoldInitTypeCheck.h
  clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
  clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h
  clang-tidy/bugprone/InaccurateEraseCheck.cpp
  clang-tidy/bugprone/InaccurateEraseCheck.h
  clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp
  clang-tidy/bugprone/MoveForwardingReferenceCheck.h
  clang-tidy/bugprone/MultipleStatementMacroCheck.cpp
  clang-tidy/bugprone/MultipleStatementMacroCheck.h
  clang-tidy/bugprone/UseAfterMoveCheck.cpp
  clang-tidy/bugprone/UseAfterMoveCheck.h
  clang-tidy/bugprone/VirtualNearMissCheck.cpp
  clang-tidy/bugprone/VirtualNearMissCheck.h
  clang-tidy/hicpp/HICPPTidyModule.cpp
  clang-tidy/misc/AssertSideEffectCheck.cpp
  clang-tidy/misc/AssertSideEffectCheck.h
  clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp
  clang-tidy/misc/BoolPointerImplicitConversionCheck.h
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/FoldInitTypeCheck.cpp
  clang-tidy/misc/FoldInitTypeCheck.h
  clang-tidy/misc/ForwardDeclarationNamespaceCheck.cpp
  clang-tidy/misc/ForwardDeclarationNamespaceCheck.h
  clang-tidy/misc/InaccurateEraseCheck.cpp
  clang-tidy/misc/InaccurateEraseCheck.h
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/MoveForwardingReferenceCheck.cpp
  clang-tidy/misc/MoveForwardingReferenceCheck.h
  clang-tidy/misc/MultipleStatementMacroCheck.cpp
  clang-tidy/misc/MultipleStatementMacroCheck.h
  clang-tidy/misc/UseAfterMoveCheck.cpp
  clang-tidy/misc/UseAfterMoveCheck.h
  clang-tidy/misc/VirtualNearMissCheck.cpp
  clang-tidy/misc/VirtualNearMissCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/bugprone-assert-side-effect.rst
  docs/clang-tidy/checks/bugprone-bool-pointer-implicit-conversion.rst
  docs/clang-tidy/checks/bugprone-fold-init-type.rst
  docs/clang-tidy/checks/bugprone-forward-declaration-namespace.rst
  docs/clang-tidy/checks/bugprone-inaccurate-erase.rst
  docs/clang-tidy/checks/bugprone-move-forwarding-reference.rst
  docs/clang-tidy/checks/bugprone-multiple-statement-macro.rst
  docs/clang-tidy/checks/bugprone-use-after-move.rst
  docs/clang-tidy/checks/bugprone-virtual-near-miss.rst
  docs/clang-tidy/checks/hicpp-invalid-access-moved.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-assert-side-effect.rst
  docs/clang-tidy/checks/misc-bool-pointer-implicit-conversion.rst
  docs/clang-tidy/checks/misc-fold-init-type.rst
  docs/clang-tidy/checks/misc-forward-declaration-namespace.rst
  docs/clang-tidy/checks/misc-inaccurate-erase.rst
  docs/clang-tidy/checks/misc-move-forwarding-reference.rst
  docs/clang-tidy/checks/misc-multiple-statement-macro.rst
  docs/clang-tidy/checks/misc-use-after-move.rst
  docs/clang-tidy/checks/misc-virtual-near-miss.rst
  test/clang-tidy/bugprone-assert-side-effect.cpp
  test/clang-tidy/bugprone-bool-pointer-implicit-conversion.cpp
  test/clang-tidy/bugprone-fold-init-type.cpp
  test/clang-tidy/bugprone-forward-declaration-namespace.cpp
  test/clang-tidy/bugprone-inaccurate-erase.cpp
  test/clang-tidy/bugprone-move-forwarding-reference.cpp
  test/clang-tidy/bugprone-multiple-statement-macro.cpp
  test/clang-tidy/bugprone-use-after-move.cpp
  test/clang-tidy/bugprone-virtual-near-miss.cpp
  test/clang-tidy/cppcoreguidelines-owning-memory.cpp
  test/clang-tidy/misc-assert-side-effect.cpp
  test/clang-tidy/misc-bool-pointer-implicit-conversion.cpp
  test/clang-tidy/misc-fold-init-type.cpp
  test/clang-tidy/misc-forward-declaration-namespace.cpp
  test/clang-tidy/misc-inaccurate-erase.cpp
  test/clang-tidy/misc-move-forwarding-reference.cpp
  test/clang-tidy/misc-multiple-statement-macro.cpp
  test/clang-tidy/misc-use-after-move.cpp
  test/clang-tidy/misc-virtual-near-miss.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40426.124164.patch
Type: text/x-patch
Size: 43558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171124/4a182a98/attachment-0001.bin>


More information about the cfe-commits mailing list