[all-commits] [llvm/llvm-project] a2c33b: [clang-tidy] Refactor: Extract Class CheckRunner o...

Richard Thomson via All-commits all-commits at lists.llvm.org
Mon Jan 10 14:53:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2c33b0ec976c894dc45558d0b50c9c2fe87e1da
      https://github.com/llvm/llvm-project/commit/a2c33b0ec976c894dc45558d0b50c9c2fe87e1da
  Author: Richard <legalize at xmission.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/check_clang_tidy.py

  Log Message:
  -----------
  [clang-tidy] Refactor: Extract Class CheckRunner on check_clang_tidy.py

Break up the huge function by extracting a class, storing intermediate
state as class members and breaking up the big function into a group
of class methods all at the same level of abstraction.

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




More information about the All-commits mailing list