A class is not really a class if only one instance can ever exist.
Diff Detail
Event Timeline
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp | ||
---|---|---|
1268 | This code is creepy. On at least one execution path reaching this spot there seems Pred is null due to caching out, and in this case we should not throw a bug report at all. Also what do we mean by Ctx.addTransition(state, Pred) when Pred is null? I think it simply returns Ctx.getPredecessor() then, and in this case it should crash due to exploded node garbage collection. But i guess it has always been that way. | |
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h | ||
340 | & -> & :) |
& -> & :)