Remove code duplication and cut dependency from clangRewrite on
clangAST.

llvm-svn: 220502
5 files changed