[all-commits] [llvm/llvm-project] d97e9f: [lldb] Simplify ObjectFile::FindPlugin (NFC)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Dec 23 14:06:58 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d97e9f1a3d8510de036f8fec68cfd5330c9f050c
      https://github.com/llvm/llvm-project/commit/d97e9f1a3d8510de036f8fec68cfd5330c9f050c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M lldb/source/Symbol/ObjectFile.cpp

  Log Message:
  -----------
  [lldb] Simplify ObjectFile::FindPlugin (NFC)

Use early return to reduce the levels of indentation. Extract logic to
find object in container into helper function.




More information about the All-commits mailing list