]> granicus.if.org Git - clang/commit
clang-format: Add SFS_Empty to only empty functions on a single line.
authorDaniel Jasper <djasper@google.com>
Wed, 26 Nov 2014 10:43:58 +0000 (10:43 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 26 Nov 2014 10:43:58 +0000 (10:43 +0000)
commit6cb96e4663d8e61db5bb520e5946c314ff8354a1
tree667c56e094e7e8bab8ea0f23c160055512398af1
parent0f7e9eb3381a1a58840d892bf26e89f605bd2f65
clang-format: Add SFS_Empty to only empty functions on a single line.

Activated for and tested by Google's Java style.

This fixes llvm.org/PR21667.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222819 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Format/Format.h
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestJava.cpp