[all-commits] [llvm/llvm-project] e473e7: [lldb][NFC] Make cmd a reference in GenerateOption...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon May 16 03:47:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e473e79cd194d7a74158ff7e8b97076a7f71c511
https://github.com/llvm/llvm-project/commit/e473e79cd194d7a74158ff7e8b97076a7f71c511
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-05-16 (Mon, 16 May 2022)
Changed paths:
M lldb/include/lldb/Interpreter/Options.h
M lldb/source/Commands/CommandObjectDisassemble.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Interpreter/CommandObject.cpp
M lldb/source/Interpreter/Options.cpp
Log Message:
-----------
[lldb][NFC] Make cmd a reference in GenerateOptionUsage
Nowhere in lldb do we call this with a null pointer.
If we did, the first line of the function would fault anyway.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D125218
More information about the All-commits
mailing list