bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Space or no space after __attribute__ ? (Behavior change in newer versio


From: Andrew πŸ‘½ Yourtchenko
Subject: Space or no space after __attribute__ ? (Behavior change in newer versions of indent)
Date: Wed, 23 Oct 2019 15:28:34 +0200

Hi all,

Indent 2.2.12 appears to disagree with the previous versions about the presence 
or absence of space after the β€œ__attribute__”

In VPP (https://wiki.fd.io/view/VPP) we use 2x run of indent as a means of 
consistent code formatting before it can be committed 
(https://git.fd.io/vpp/tree/build-root/scripts/checkstyle.sh)

Apparently while other bugfixes are very welcome, this behavior in question 
causes enough pain to require big change across the entire codebase as per 
https://gerrit.fd.io/r/#/c/vpp/+/22937/ to continue working across old/new 
indent versions..

Questions:

1) is the β€œnew” behavior or the β€œold” behavior correct ?

2) assuming it is simple enough to make indent behave like the β€œold” behavior - 
would the esteemed folks on this list be open to entertaining including a knob 
to keep the β€œold” behavior in that regard ?

Thank you very much!

--a

reply via email to

[Prev in Thread] Current Thread [Next in Thread]