r184048 - Updated the support for contextual conversion tweaks (n3323) with a previously overlooked part: implicitly converting array sizes to size_t, rather than contextually converting them to some unique type.

Renato Golin renato.golin at linaro.org
Mon Jun 17 02:08:07 PDT 2013


On 17 June 2013 10:01, Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:

> Is this a bug in the code or in the compiler? Seems like the code
> should be fixed to either make the enum global, or explicitly cast it
> to (int). But I'm not completely sure.
>
> AnalysisBasedWarnings.cpp:1126
> SemaCast.cpp:772
>

Neither of those cases are template arguments, they're just plain IO
redirection, so it seems that Clang is wrong here.

Maybe you should report this on the main clang dev list with the error
messages and all info you can provide and see where it goes.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130617/05ea7d34/attachment.html>


More information about the cfe-commits mailing list