r177053 - Fix an unused variable warning from Clang by sinking a dyn_cast into an

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Mar 14 07:32:12 PDT 2013


On 14 March 2013 07:17, Chandler Carruth <chandlerc at gmail.com> wrote:
> Author: chandlerc
> Date: Thu Mar 14 06:17:20 2013
> New Revision: 177053
>
> URL: http://llvm.org/viewvc/llvm-project?rev=177053&view=rev
> Log:
> Fix an unused variable warning from Clang by sinking a dyn_cast into an
> isa and a cast inside the assert. The efficiency concern isn't really
> important here. The code should likely be cleaned up a bit more,
> especially getting a message into the assert.
>
> Please review Rafael.

LGTM. Thanks!

Cheers,
Rafael



More information about the cfe-commits mailing list