[cfe-dev] : Clang Static Code Analyzer does not report 'Switch' Statement as a branch condition.
Zach Davis
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.
>
> Jordan
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.
Thanks,
Zach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131206/16887a2e/attachment.html>
More information about the cfe-dev
mailing list