clang-format: Better support functions with elaborated enum return types.
authorDaniel Jasper <djasper@google.com>
Thu, 18 Jun 2015 15:45:17 +0000 (15:45 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 18 Jun 2015 15:45:17 +0000 (15:45 +0000)
commit47721ac75d8b14dc09cbc6ee1906c1319610a4d1
tree55b052d69a0414d669e5803f2a86468726f733fb
parentf90346f8f6ebd4ce4589ba070e4baaeede80988a
clang-format: Better support functions with elaborated enum return types.

Before, this wasn't formatted properly:
  enum ::C f() {
    return a;
  }

llvm-svn: 240021
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTest.cpp