Initial version of formatting library.
authorDaniel Jasper <djasper@google.com>
Mon, 3 Dec 2012 18:12:45 +0000 (18:12 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 3 Dec 2012 18:12:45 +0000 (18:12 +0000)
commitf79351157959adde9a65d99075590a9db613a77b
treef2771983d8664d33384dcf9bdfa2167eefdde599
parent2ed1c0922c18f4e00d43e5fdae4565f9b40f94db
Initial version of formatting library.

This formatting library will be used by a stand-alone clang-format tool
and can also be used when writing other refactorings.

Manuel's original design document:
https://docs.google.com/a/google.com/document/d/1gpckL2U_6QuU9YW2L1ABsc4Fcogn5UngKk7fE5dDOoA/edit

The library can already successfully format itself.

Review: http://llvm-reviews.chandlerc.com/D80
llvm-svn: 169137
12 files changed:
clang/include/clang/Format/Format.h [new file with mode: 0644]
clang/lib/CMakeLists.txt
clang/lib/Format/CMakeLists.txt [new file with mode: 0644]
clang/lib/Format/Format.cpp [new file with mode: 0644]
clang/lib/Format/Makefile [new file with mode: 0644]
clang/lib/Format/UnwrappedLineParser.cpp [new file with mode: 0644]
clang/lib/Format/UnwrappedLineParser.h [new file with mode: 0644]
clang/lib/Makefile
clang/unittests/CMakeLists.txt
clang/unittests/Format/CMakeLists.txt [new file with mode: 0644]
clang/unittests/Format/FormatTest.cpp [new file with mode: 0644]
clang/unittests/Format/Makefile [new file with mode: 0644]