ping. We should change the code or the coding style, but not leave
them like this.

On 3 November 2014 23:55, Rafael Espíndola <[email protected]> wrote:
>> -    std::string P(llvm::sys::FindProgramByName(TargetSpecificExecutable));
>> -    if (!P.empty())
>> -      return P;
>> +    auto P = llvm::sys::findProgramByName(TargetSpecificExecutable);
>> +    if (P)
>> +      return *P;
>>    }
>
> It is probably better to write out the type.
>
> Cheers,
> Rafael

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to