We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba8683f commit 9097ef8Copy full SHA for 9097ef8
lldb/source/Utility/Args.cpp
@@ -640,7 +640,6 @@ void OptionsWithRaw::SetFromString(llvm::StringRef arg_string) {
640
}
641
642
bool found_suffix = false;
643
-
644
while (!arg_string.empty()) {
645
// The length of the prefix before parsing.
646
std::size_t prev_prefix_length = original_args.size() - arg_string.size();
@@ -679,10 +678,8 @@ void OptionsWithRaw::SetFromString(llvm::StringRef arg_string) {
679
678
680
681
// If we didn't find a suffix delimiter, the whole string is the raw suffix.
682
- if (!found_suffix) {
683
- found_suffix = true;
+ if (!found_suffix)
684
m_suffix = std::string(original_args);
685
- }
686
687
688
void llvm::yaml::MappingTraits<Args::ArgEntry>::mapping(IO &io,
0 commit comments