refactor clang initialization to be less redundant over the two passes.