r209477 - Use error_code::success() instead of make_error_code(llvm::errc::success).

Tobias Grosser tobias at grosser.es
Fri May 23 00:04:45 PDT 2014


On 23/05/2014 09:02, Alexander Kornienko wrote:
> Slightly shorter and more expensive, I would say.

It is just a minor change, but more expensive? That does not sound 
beneficial?

Also, you missed this question:

>>         }
>>>      }
>>>      return llvm::make_error_code(llvm::errc::not_supported);
>>>
>>
>> Should this line be changed too?

Cheers,
Tobias



More information about the cfe-commits mailing list