For analyzing C++ code you need to pass the function parameter list: -analyze-function="foobar(int, _Bool)"