[llvm-bugs] [Bug 37689] New: AlignConsecutiveAssignments and AlignConsecutiveDeclarations enhancement

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 5 07:53:47 PDT 2018


            Bug ID: 37689
           Summary: AlignConsecutiveAssignments and
                    AlignConsecutiveDeclarations enhancement
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: o.tristan at uvi.net
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org


It would be great to allow some kind of penalty or a maximum of white space
allowed to align and/or align similar C++ type.

Like here
  void PeakingEQCoefficientsOrfanidis(double                coeffs[6],
                                      float                 sr,
                                      double                freq,
                                      double                dBGain,
                                      double                Q,
                                      Biquad::BandwidthMode mode);

most people would only align double/float and leaves the mode alone.

Open to suggestion for the best way to improve this behavior.

Thanks !

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180605/9ca82998/attachment-0001.html>

More information about the llvm-bugs mailing list