[cfe-commits] [patch] Add -Wdangling-else-parentheses

Chandler Carruth chandlerc at google.com
Tue Dec 20 16:08:15 PST 2011


On Tue, Dec 20, 2011 at 4:07 PM, Chandler Carruth <chandlerc at google.com>wrote:

> Ewww. =/ I really don't like missing this, and it seems like we should be
> able to handle it... All we would need to do is track whether the else was
> followed by a '{', no? Would that cause a lexing performance problem? I
> thought peaking at the token stream by one token was cheap, but maybe not...


Oh, just to be clear, I'm fine w/ a FIXME or something, I'd just like to
get it eventually...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111220/ac0c0a0d/attachment.html>


More information about the cfe-commits mailing list