Previously several places had code to determine whether the line is an
if / while / for statement. This commit replaces them with a function
call.
About the removal of the check in parseAngle. At first there was this
bug https://bugs.llvm.org/show_bug.cgi?id=46969. Right-shift
operators would sometimes get split because they got regarded as
template closers. They fixed the problem by adding the check in
question, telling the program to assume two consecutive >'s in a
condition is not a template. Then they found this bug
https://bugs.llvm.org/show_bug.cgi?id=46969. It turned out a
right-shift can also occur outside of parentheses and get regarded as a
template closer. So they added the next line to fix it. That check
would succeed whether or not the right shift was in an if condition.
Thus the first check has been unnecessary since we had the second one.
Please document what this means.