]> granicus.if.org Git - clang/commit
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)
commitbac016bd3f67ca2f4db1ddc619e611759352b84d
tree82232dd80409934344e3f0c259da493e5fc35b0e
parent189f2e421d06526ea8b4a3dcd9f4a072e10a859c
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169137 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Format/Format.h [new file with mode: 0644]
lib/CMakeLists.txt
lib/Format/CMakeLists.txt [new file with mode: 0644]
lib/Format/Format.cpp [new file with mode: 0644]
lib/Format/Makefile [new file with mode: 0644]
lib/Format/UnwrappedLineParser.cpp [new file with mode: 0644]
lib/Format/UnwrappedLineParser.h [new file with mode: 0644]
lib/Makefile
unittests/CMakeLists.txt
unittests/Format/CMakeLists.txt [new file with mode: 0644]
unittests/Format/FormatTest.cpp [new file with mode: 0644]
unittests/Format/Makefile [new file with mode: 0644]