[PATCH] Added SpaceAfterFunctionName option

Alexander Kornienko alexfh at google.com
Mon Dec 9 05:53:45 PST 2013


  Merged SpaceAfterFunctionName and SpaceAfterControlStatementKeyword into SpaceBeforeParens. It seems like we don't need an option to only put spaces after function names, rather to almost always put a space before opening parentheses.

Hi djasper,

http://llvm-reviews.chandlerc.com/D2326

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2326?vs=5895&id=5985#toc

Files:
  docs/ClangFormatStyleOptions.rst
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2326.2.patch
Type: text/x-patch
Size: 13277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131209/bf799fcc/attachment.bin>


More information about the cfe-commits mailing list