[cfe-commits] Note and FixIt for additional case of vexing parse

Richard Smith richard at metafoo.co.uk
Tue Jul 31 12:58:45 PDT 2012


On Tue, Jul 31, 2012 at 12:29 AM, Nikola Smiljanic <popizdeh at gmail.com>wrote:

> I think you forgot to remove the second condition.
> if (FTI.NumArgs > 0 && D.getContext() != Declarator::ConditionContext) {
>
> You already have this check "D.getContext() ==
> Declarator::ConditionContext" few lines above.
>

Thanks, you're right. I've already cleaned this up in r160999.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120731/9076638e/attachment.html>


More information about the cfe-commits mailing list