bugGNU indent - Bugs: bug #42356, option to keep short functions on...

 
 

bug #42356: option to keep short functions on a single line

Submitter:  None
Submitted:  Wed 14 May 2014 01:36:25 PM UTC
   
 
Category:  C Severity:  3 - Normal
Item Group:  Wishlist Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 May 2014 01:36:25 PM UTC, original submission:  

That is, keep the following on a single line if feasible>

int f() { return 0; }

Note: I don't personally like this option much (and it's very anti-1TBS, for which I just submitted a wishlist item: http://savannah.gnu.org/bugs/?42355) but I thought that for feature parity with clang-format:

http://clang.llvm.org/docs/ClangFormatStyleOptions.html
search for AllowShortFunctionsOnASingleLine

this would be nice to include.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code