[all-commits] [llvm/llvm-project] 698e9f: [lldb] Add support for NoneType to decorator skipI...

Ivan Tadeu Ferreira Antunes Filho via All-commits all-commits at lists.llvm.org
Mon Jun 23 09:23:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 698e9f56558e20ceb80c08c4a880bed15970b777
      https://github.com/llvm/llvm-project/commit/698e9f56558e20ceb80c08c4a880bed15970b777
  Author: Ivan Tadeu Ferreira Antunes Filho <antunesi at google.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py

  Log Message:
  -----------
  [lldb] Add support for NoneType to decorator skipIfBuildType (#145342)

Currently if cmake_build_type is None we error with `AttributeError:
'NoneType' object has no attribute 'lower'` if the decorator
skipIfBuildType is used. This fixes the issue by first checking that
cmake_build_type is not None.



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