Workaround gcc bug causing crash on our preprocessed outputs.
 - gcc is not happy if we start a preprocessed file with
#line 1 "XXX" 1
 - Workaround by making sure file starts with a simple #line change.

Also, factored WriteLineInfo out.

Also, fixed bug where FileType was not being correctly updated.

llvm-svn: 55825
1 file changed
tree: 64c1d3fcfb29fd7a37e93cf071eedea2ed22f71c
  1. clang/
  2. llvm/