[all-commits] [llvm/llvm-project] 55dd73: [debugserver] Extract function for default launch ...

Dave Lee via All-commits all-commits at lists.llvm.org
Wed Sep 9 11:36:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55dd731b291c2d64f318f27c40a17d2255e16215
      https://github.com/llvm/llvm-project/commit/55dd731b291c2d64f318f27c40a17d2255e16215
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2020-09-09 (Wed, 09 Sep 2020)

  Changed paths:
    M lldb/tools/debugserver/source/debugserver.cpp

  Log Message:
  -----------
  [debugserver] Extract function for default launch flavor

Extract a function for turning `eLaunchFlavorDefault` into a concreate `eLaunchFlavor` value.

This new function encapsulates the few compile time variables involved, and also prevents clang unused code diagnostics.

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




More information about the All-commits mailing list