[all-commits] [llvm/llvm-project] a72307: Set traversal explicitly where needed in clang-tidy

Stephen Kelly via All-commits all-commits at lists.llvm.org
Thu May 21 14:41:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a72307c3a6f15badc2efb4614b212e6c5fee1ee9
      https://github.com/llvm/llvm-project/commit/a72307c3a6f15badc2efb4614b212e6c5fee1ee9
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/abseil/DurationDivisionCheck.cpp
    M clang-tools-extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp
    M clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
    M clang-tools-extra/clang-tidy/abseil/StrCatAppendCheck.cpp
    M clang-tools-extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/IntegerDivisionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
    M clang-tools-extra/clang-tidy/cert/MutatingCopyCheck.cpp
    M clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
    M clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
    M clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
    M clang-tools-extra/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp
    M clang-tools-extra/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp
    M clang-tools-extra/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp
    M clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/ShrinkToFitCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseBoolLiteralsCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseEmplaceCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
    M clang-tools-extra/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.cpp
    M clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp
    M clang-tools-extra/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp
    M clang-tools-extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp
    M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
    M clang-tools-extra/clang-tidy/performance/MoveConstructorInitCheck.cpp
    M clang-tools-extra/clang-tidy/performance/NoAutomaticMoveCheck.cpp
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
    M clang-tools-extra/clang-tidy/readability/DeleteNullPointerCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
    M clang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
    M clang-tools-extra/clang-tidy/readability/MakeMemberFunctionConstCheck.cpp
    M clang-tools-extra/clang-tidy/readability/MisplacedArrayIndexCheck.cpp
    M clang-tools-extra/clang-tidy/readability/NonConstParameterCheck.cpp
    M clang-tools-extra/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp
    M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
    M clang-tools-extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
    M clang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.cpp
    M clang-tools-extra/clang-tidy/readability/StringCompareCheck.cpp
    M clang-tools-extra/clang-tidy/utils/ExprSequence.cpp
    M clang-tools-extra/clang-tidy/zircon/TemporaryObjectsCheck.cpp

  Log Message:
  -----------
  Set traversal explicitly where needed in clang-tidy

Reviewers: aaron.ballman

Subscribers: nemanjai, kbarton, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72530


  Commit: a30d411629d5425dedb0dadd616d0faabb611798
      https://github.com/llvm/llvm-project/commit/a30d411629d5425dedb0dadd616d0faabb611798
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M clang/unittests/AST/ASTImporterTest.cpp
    M clang/unittests/AST/SourceLocationTest.cpp
    M clang/unittests/AST/StmtPrinterTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
    M clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
    M clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
    M clang/unittests/Tooling/RangeSelectorTest.cpp
    M clang/unittests/Tooling/RefactoringCallbacksTest.cpp
    M clang/unittests/Tooling/StencilTest.cpp

  Log Message:
  -----------
  Set traversal explicitly where needed in tests

Reviewers: aaron.ballman, shafik

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72531


  Commit: f85aedc167cde76bdb47b7814f873cfb40ad3ed8
      https://github.com/llvm/llvm-project/commit/f85aedc167cde76bdb47b7814f873cfb40ad3ed8
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M clang/lib/Analysis/ExprMutationAnalyzer.cpp

  Log Message:
  -----------
  Make the ExprMutationAnalyzer explicit about how it traverses the AST

Reviewers: aaron.ballman

Subscribers: baloghadamsoftware, a.sidorin, Szelethus, donat.nagy, dkrupp, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72532


Compare: https://github.com/llvm/llvm-project/compare/d13a50882006...f85aedc167cd


More information about the All-commits mailing list