Ah, right. Sorry I didn't see it was a fully covered switch - neat.
------------------------------
From: Ted Kremenek
Sent: 3/1/2012 11:42 AM
To: David Blaikie
Cc: [email protected]
Subject: Re: [cfe-commits] r151775 -
/cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp

On Feb 29, 2012, at 4:18 PM, David Blaikie <[email protected]> wrote:

For what it's worth - given the way if's boolean check on
initialization works, I kind of like the original expression (& hey,
it hapens to be shorter). Is there a particular reason for the
refactor? I wouldn't've thought it was faster...


I like the compiler telling me when I haven't covered all the cases.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to