[all-commits] [llvm/llvm-project] 86f21e: [lldb] Reinstate default constructor for SBCommand...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Sat Sep 9 20:20:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86f21e92ab6e422edda2c7a1da11670433ad26cb
      https://github.com/llvm/llvm-project/commit/86f21e92ab6e422edda2c7a1da11670433ad26cb
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M lldb/include/lldb/API/SBCommandInterpreter.h
    M lldb/source/API/SBCommandInterpreter.cpp

  Log Message:
  -----------
  [lldb] Reinstate default constructor for SBCommandInterpreter

The default constructor for SBCommandInterpreter was (unintentionally)
made protected in 27b6a4e63afe. The goal of the patch was to make the
constructor taking an lldb_private type protected, but due to the
presence of a default argument, this ctor also served as the default
constructor. The latter should remain public.

This commit reinstates the original behavior by removing the default
argument and having an explicit, public default constructor.




More information about the All-commits mailing list