[llvm] r216460 - Merge TempDir and system_temp_directory.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Aug 27 06:10:08 PDT 2014


On 27 August 2014 07:58, Benjamin Kramer <benny.kra at gmail.com> wrote:
> On Wed, Aug 27, 2014 at 11:35 AM, Timur Iskhodzhanov
> <timurrrr at google.com> wrote:
>> Hi Rafael,
>>
>> This change has introduced a warning:
>> llvm/lib/Support/Unix/Path.inc:666:7: error: implicit conversion turns
>> string literal into bool: 'const char [5]' to 'bool'
>> [-Werror,-Wstring-conversion]
>>
>> Mind taking a look?
>> Since the change seems to be just cleanup, I'll just revert it so you
>> can take a look offline.
>
> I added an explicit cast to bool, that should help with this warning.

Thanks!

Rafael



More information about the llvm-commits mailing list