[all-commits] [llvm/llvm-project] 10f849: [lit] Modernize ParserKind implementation using Py...

Prasoon via All-commits all-commits at lists.llvm.org
Thu May 28 08:54:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10f84995b430a7964d0873488100756a52652fa0
      https://github.com/llvm/llvm-project/commit/10f84995b430a7964d0873488100756a52652fa0
  Author: Prasoon <prasoonkumar054 at gmail.com>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py

  Log Message:
  -----------
  [lit] Modernize ParserKind implementation using Python3 IntEnum (#199965)

`ParserKind` in `TestRunner.py` uses a detached dictionary
for suffix mapping, which is a Python 2 idiom. We can convert
the class to a Python 3 `IntEnum`. No change in behavior.

This PR is part of the "GSoC 2026: Improving lit" project.

Signed-off-by: Prasoon Kumar <prasoonkumar054 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