Closed GoogleCodeExporter closed 8 years ago
While it's unfortunate that Clang static analyzer fails to recognize this
pattern, the proposed patch is a bad solution. It makes Clang analyze some
"nice" code instead of the code that is actually going to be executed. The real
solution is in improving Clang's static analyzer - you should file a bug
against it citing this pattern.
Original comment by vladlosev
on 4 Sep 2012 at 11:07
Original issue reported on code.google.com by
rol...@rschulz.eu
on 29 Aug 2012 at 3:31