]> granicus.if.org Git - clang/commit
clang-format: Understand functions with decltype return type.
authorDaniel Jasper <djasper@google.com>
Mon, 5 May 2014 13:48:09 +0000 (13:48 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 5 May 2014 13:48:09 +0000 (13:48 +0000)
commit2afa00ce8693eaf81335e4ab629ac1247a461cac
tree6cdd39f7c8d903d4968831c1d2658138408eaa71
parentf58cd1f9682be8b31d3f3c9b0ee8e48a01d88082
clang-format: Understand functions with decltype return type.

Before:
  decltype(long_name_forcing_break)
      f() {}

After:
  decltype(long_name_forcing_break)
  f() {}

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