[all-commits] [llvm/llvm-project] 6ccb80: [clang-tidy] Extract areStatementsIdentical

Piotr Zegar via All-commits all-commits at lists.llvm.org
Mon May 15 13:05:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ccb8061724fb6ee0b2598764656410ce3f2472c
      https://github.com/llvm/llvm-project/commit/6ccb8061724fb6ee0b2598764656410ce3f2472c
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/BranchCloneCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
    M clang-tools-extra/clang-tidy/utils/ASTUtils.cpp
    M clang-tools-extra/clang-tidy/utils/ASTUtils.h

  Log Message:
  -----------
  [clang-tidy] Extract areStatementsIdentical

Move areStatementsIdentical from BranchCloneCheck into ASTUtils.
Add small improvments. Use it in LoopConvertUtils.

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list