Removed unused static arrays from headers, removed sentinel entry from OptionDefinition array in Driver.cpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLDB LLDB
Event Timeline
| tools/driver/Driver.cpp | ||
|---|---|---|
| -24–1 | This type is duplicated here to not break the encapsulation of lldb's private types, am I right? | |
| tools/driver/Driver.cpp | ||
|---|---|---|
| -24–1 | I replaced it with static_assert since this expression can be checked at compile time. And added if (argc <= 1) to skip build of long_options_vector if there is no arguments to parse. | |
This type is duplicated here to not break the encapsulation of lldb's private types, am I right?