- Applied the common completion eVariablePathCompletion to command watchpoint set variable;
- Added a related test case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM module minus style nit.
lldb/source/Commands/CommandObjectWatchpoint.cpp | ||
---|---|---|
829 | I think the != 0 is actually clearer here. Usually if (X) is more for types like Optional or pointers types that can be "nullptrs", but here it's actually checking for the index 0. |
I think the != 0 is actually clearer here. Usually if (X) is more for types like Optional or pointers types that can be "nullptrs", but here it's actually checking for the index 0.