[all-commits] [llvm/llvm-project] 3feb6f: [clang-tidy] Add MLIR check for old op builder usa...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu Jul 24 06:48:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3feb6f971577701713034d3404b6737fe6462d43
      https://github.com/llvm/llvm-project/commit/3feb6f971577701713034d3404b6737fe6462d43
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvm/CMakeLists.txt
    M clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
    A clang-tools-extra/clang-tidy/llvm/UseNewMLIROpBuilderCheck.cpp
    A clang-tools-extra/clang-tidy/llvm/UseNewMLIROpBuilderCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/llvm/use-new-mlir-op-builder.rst
    A clang-tools-extra/test/clang-tidy/checkers/llvm/use-new-mlir-op-builder.cpp

  Log Message:
  -----------
  [clang-tidy] Add MLIR check for old op builder usage. (#149148)

Upstream is moving towards new create method invocation, add check to flag old
usage that will be deprecated.

---------

Co-authored-by: Baranov Victor <bar.victor.2002 at gmail.com>
Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list