[cfe-commits] r69895 - /cfe/trunk/lib/Analysis/BugReporter.cpp

Daniel Dunbar daniel at zuster.org
Thu Apr 23 09:43:52 PDT 2009


On Thu, Apr 23, 2009 at 9:19 AM, Ted Kremenek <kremenek at apple.com> wrote:

> +        // Ignore parentheses.
> +        if (const ParenExpr *PE = dyn_cast<ParenExpr>(S))
> +          S = PE->IgnoreParens();
>

The dyn_cast here is unneeded, IgnoreParens is defined on Expr?

 - Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090423/84aea6b2/attachment.html>


More information about the cfe-commits mailing list