[llvm] r308293 - [libOption] - Replace std::pair with helper struct. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 22:47:55 PDT 2017


>>
>>    // Find the maximum option length.
>>    unsigned OptionFieldWidth = 0;
>>    for (unsigned i = 0, e = OptionHelp.size(); i != e; ++i) {
>> -    // Skip titles.
>> -    if (!OptionHelp[i].second)
>> -      continue;
>> -
>
>This removal seems unrelated.
>
>Cheers,
>Rafael

It is just dead piece which was either need rewriting to use helper
struct member (and still remain dead) or removing.
Probably I should have remove it in separate commit though.

George.


More information about the llvm-commits mailing list