[cfe-dev] : Clang Static Code Analyzer does not report 'Switch' Statement as a branch condition.
zdavkeos at gmail.com
Fri Dec 6 10:07:35 PST 2013
> Right; what I meant was that we'd prefer to make this work rather than adding switch statements to checkBranchCondition, but right now neither one works. Sorry for the inconvenience.
I had this same problem and ended up using an ast-matcher in a clang
tool instead to get the information I wanted.
I would be interested in helping add this feature though.
I found the bug report (18175), but could use some pointers to get
started on a patch.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev