]> granicus.if.org Git - clang/commit
clang-format: Add option for the offset of constructor initializers.
authorDaniel Jasper <djasper@google.com>
Tue, 13 Aug 2013 10:58:30 +0000 (10:58 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 13 Aug 2013 10:58:30 +0000 (10:58 +0000)
commit6315fec908431be8f11d9e3c29caadc77c748702
treed426beef1361b71bda4119c2cf0bb6bf9673be37
parent5f15f4daf0e225ea8463fe2ef522c009c95ffc9c
clang-format: Add option for the offset of constructor initializers.

Some coding styles use a different indent for constructor initializers.

Patch by Klemens Baum. Thank you.
Review: http://llvm-reviews.chandlerc.com/D1360

Post review changes: Changed data type to unsigned as a negative indent
width does not make sense and added test for configuration parsing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188260 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Format/Format.h
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp