]> granicus.if.org Git - clang/commit
Clang-format: allow -style="{yaml/json}" on command line
authorAlexander Kornienko <alexfh@google.com>
Sun, 19 May 2013 00:53:30 +0000 (00:53 +0000)
committerAlexander Kornienko <alexfh@google.com>
Sun, 19 May 2013 00:53:30 +0000 (00:53 +0000)
commit885f87b4be987fd8912779419ec88e3c37481967
treecce9075d32fae5cfadbcec04df4e3535f0d933fb
parent08cf30eb32f938c70c6f3214e6be4fddc782a333
Clang-format: allow -style="{yaml/json}" on command line

Summary: + improved handling of default style and predefined styles.

Reviewers: djasper, klimek

Reviewed By: klimek

CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D813

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182205 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ClangFormat.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
test/Format/style-on-command-line.cpp [new file with mode: 0644]
tools/clang-format/ClangFormat.cpp
unittests/Format/FormatTest.cpp