]> granicus.if.org Git - clang/commit
clang-format: Fix incorrect enum parsing / layouting.
authorDaniel Jasper <djasper@google.com>
Fri, 13 Sep 2013 09:20:45 +0000 (09:20 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 13 Sep 2013 09:20:45 +0000 (09:20 +0000)
commit5798120bc015360951d13a06e17501b909ecd21d
tree786c1c726f9463a359c15e3fdf3498d76847d92d
parentcab7dad9eb1d986874a8224b6167f413aec55b14
clang-format: Fix incorrect enum parsing / layouting.

Before:
  enum {
    Bar = Foo < int,
    int > ::value
  };

After:
  enum {
    Bar = Foo<int, int>::value
  };

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