[all-commits] [llvm/llvm-project] 2419de: [lldb] Cleanup CommandObject registration (NFC)
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Jul 22 09:52:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2419ded61d977c043be945f004e6324812a5a3e2
https://github.com/llvm/llvm-project/commit/2419ded61d977c043be945f004e6324812a5a3e2
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-07-22 (Wed, 22 Jul 2020)
Changed paths:
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Interpreter/CommandObjectScript.cpp
M lldb/source/Interpreter/CommandObjectScript.h
Log Message:
-----------
[lldb] Cleanup CommandObject registration (NFC)
- Remove the spurious argument to `CommandObjectScript`.
- Use make_shared instead of bare `new`.
- Move code duplication behind a macro.
Differential revision: https://reviews.llvm.org/D84336
More information about the All-commits
mailing list