]> granicus.if.org Git - clang/commit
clang-format: Better fix to detect elaborated enum return types.
authorDaniel Jasper <djasper@google.com>
Fri, 19 Jun 2015 08:17:32 +0000 (08:17 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 19 Jun 2015 08:17:32 +0000 (08:17 +0000)
commitf68ad12985dd957b0661f07a524b2645d33f41bc
treec86d4f722999521785af90ccfde32fa68ffbe412
parenta07c2fc314cb918bc1c7b97f0675a4d6175635f3
clang-format: Better fix to detect elaborated enum return types.

The previous one (r240021) regressed:
  enum E Type::f() { .. }

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