]> granicus.if.org Git - clang/commit
clang-format: Fix bug concerning the alignment of "}".
authorDaniel Jasper <djasper@google.com>
Thu, 11 Jul 2013 21:27:40 +0000 (21:27 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 11 Jul 2013 21:27:40 +0000 (21:27 +0000)
commit15ec3a871d5ae8a8d4c29ca2681532a9894898b6
tree99ff54d4c0a717a6c92d6722894043067f9ea729
parent20a0f8cff96505abb65233a2eaf3af3cd8536cd2
clang-format: Fix bug concerning the alignment of "}".

Before:
    int i;  // indented 2 space more than clang-format would use.
    SomeReturnType  // clang-format invoked on this line.
    SomeFunctionMakingLBraceEndInColumn80() {
  }  // This is the indent clang-format would prefer.

After:
    int i;  // indented 2 space more than clang-format would use.
    SomeReturnType  // clang-format invoked on this line.
    SomeFunctionMakingLBraceEndInColumn80() {
    }

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