[all-commits] [llvm/llvm-project] 801cea: [lldb] Fix else-after-return in AppleObjCRuntimeV2...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Apr 6 10:07:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 801cea2ce9515cc6b6c9b59dfac6e48074737da1
      https://github.com/llvm/llvm-project/commit/801cea2ce9515cc6b6c9b59dfac6e48074737da1
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp

  Log Message:
  -----------
  [lldb] Fix else-after-return in AppleObjCRuntimeV2 (NFC)

Use early returns to associate the error message with the corresponding
condition and eliminate some else-after-returns in the process.




More information about the All-commits mailing list