diff options
| author | Manuel Klimek <klimek@google.com> | 2013-08-02 21:31:59 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-08-02 21:31:59 +0000 |
| commit | e490705e6678a2e830cecacbe8142d9b369d8341 (patch) | |
| tree | e9097160d4dc71bc8d1fe3eb19f93cadbd5b6ea2 /lib/Format/Format.cpp | |
| parent | b56da8c0e648d3bfd9bfe82266b9fea6a8df8a00 (diff) | |
| download | clang-e490705e6678a2e830cecacbe8142d9b369d8341.tar.gz clang-e490705e6678a2e830cecacbe8142d9b369d8341.tar.bz2 clang-e490705e6678a2e830cecacbe8142d9b369d8341.tar.xz | |
Implement Allman style.
Patch by Frank Miller.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
| -rw-r--r-- | lib/Format/Format.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 02cbc316c1..140bda2193 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -50,6 +50,7 @@ struct ScalarEnumerationTraits<clang::format::FormatStyle::BraceBreakingStyle> { IO.enumCase(Value, "Attach", clang::format::FormatStyle::BS_Attach); IO.enumCase(Value, "Linux", clang::format::FormatStyle::BS_Linux); IO.enumCase(Value, "Stroustrup", clang::format::FormatStyle::BS_Stroustrup); + IO.enumCase(Value, "Allman", clang::format::FormatStyle::BS_Allman); } }; |
