[clang-format] Remove (SourceManager, FileID) variants
authorDaniel Jasper <djasper@google.com>
Tue, 8 Nov 2016 16:11:33 +0000 (16:11 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 8 Nov 2016 16:11:33 +0000 (16:11 +0000)
commit528d682ff6f5180360b978a93ea0d49ebb758d5c
tree584641b67d74d2b77a032a0274717b91b4e0d72c
parent73c3a36b9f5036f4e497035193765c465d1b9ca2
[clang-format] Remove (SourceManager, FileID) variants

In Format, remove the reformat() and clean() functions taking a SourceManager
and a FileID. Keep the versions taking StringRef Code.

- there was duplicated functionality
- the FileID versions were harder to use
- the clean() version is dead code anyways

Patch by Krasimir Georgiev. Thank you.

llvm-svn: 286243
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Index/CommentToXML.cpp