]> granicus.if.org Git - clang/commit
Don't put a function's return type on its own line in Google style.
authorDaniel Jasper <djasper@google.com>
Mon, 28 Jan 2013 15:40:20 +0000 (15:40 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 28 Jan 2013 15:40:20 +0000 (15:40 +0000)
commitd75ff6496bfb599a9edde41681873919d4d44152
treeb04a8d7e2691bc7ebf85803d5123a65b8489c787
parentb7551f71a4c5a901bbae72b0a80af3745b7a0c0d
Don't put a function's return type on its own line in Google style.

This would be against the style guide:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Declarations_and_Definitions#Function_Declarations_and_Definitions

Not sure what to do as a last resort if the function signature does not
fit onto a single line in Google style ..

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