]> granicus.if.org Git - clang/commit
clang-format: Recognize lists ending in trailing commas correctly.
authorDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 09:53:23 +0000 (09:53 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 09:53:23 +0000 (09:53 +0000)
commitbfa38f08f23a8984887fda3e14bfa7660a14decd
tree0e692ec276bf902a02d6f6dc2d09bfeeb42407d5
parent964126927af0ab908018e976aff2734811d02695
clang-format: Recognize lists ending in trailing commas correctly.

Previously, this did not look through trailing comments leading to a few
formatting oddities.

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