I calculate C/C++ code's cyclomatic complexity with clang in python module.
And, I caught almost statement but, I can't catch several statement that don't
have a brace.
example, if below statement can catch and calculate cyclomatic complexity.
if (i == 1 && k ==2)
{
cout << 'q' << endl;
}
but, below statement can't catch.
if (i == 1 && k ==2)
cout << 'q' << endl;
please, tell me how to catch that statement.