pickup if-statement and else-if conditions with clang instead of regex