[PATCH] factor duplicated yamlReader creation

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jun 10 13:32:14 PDT 2013


On 10 June 2013 16:26, Shankar Kalpathi Easwaran <shankarke at gmail.com> wrote:
>
>   lib/Driver/Driver.cpp:bool Driver::link(const TargetInfo &targetInfo, raw_ostream &diagnostics).
>
>   The Driver is passed in a TargetInfo which is const though.

And verify is not a const method, so that is not a problem. If we try
to call it in a object that is const the build will fail.

Cheers,
Rafael



More information about the llvm-commits mailing list