[all-commits] [llvm/llvm-project] a92673: [lldb-vscode] Convert launch_info and attach_info ...

Anton Kolesov via All-commits all-commits at lists.llvm.org
Thu Mar 26 08:49:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a92673fe9a08b5ed4f67cc52782bacc29cf945ec
      https://github.com/llvm/llvm-project/commit/a92673fe9a08b5ed4f67cc52782bacc29cf945ec
  Author: Anton Kolesov <Anton.Kolesov at synopsys.com>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M lldb/tools/lldb-vscode/VSCode.cpp
    M lldb/tools/lldb-vscode/VSCode.h
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] Convert launch_info and attach_info to local variables

Those fields inside of the global variable can be local variables because
they are used in only inside of one function: request_launch for launch_info
and request_attach for attach_info.

To avoid confusion an already existing local variable attach_info of
request_attach has been renamed to better reflect its purpose.

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




More information about the All-commits mailing list