]> granicus.if.org Git - clang/commit
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)
commitda9b85642632953df17160488a1aa4e37339484a
tree10b134a33d48b0448a0559e05ece5d1a7bda5281
parentb5892a68e282cf34b08deca7ad2985fb468dbaf6
clang-format: Better support functions with elaborated enum return types.

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

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