Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-141

Auto-format C code using astyle

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0 (incubating)
    • Component/s: None
    • Labels:
      None

      Description

      We should consider using the automatic code formatter astyle for
      our C code.

      Dev list thread: http://s.apache.org/INC

        Attachments

        1. compromises.diff
          2 kB
          Marvin Humphrey
        2. brackets.patch
          57 kB
          Marvin Humphrey
        3. whitespace_stages.tgz
          524 kB
          Marvin Humphrey
        4. whitespace.patch
          1.76 MB
          Marvin Humphrey
        5. lucytidy.pl
          8 kB
          Marvin Humphrey
        6. astylerc
          2 kB
          Marvin Humphrey
        7. run_astyle.pl
          4 kB
          Marvin Humphrey
        8. astylerc
          2 kB
          Marvin Humphrey
        9. 0007-Break-after-operator-because-astyle-does-not-indent-.patch
          130 kB
          Marvin Humphrey
        10. 0006-Break-function-body-opening-lines-when-they-exceed-7.patch
          14 kB
          Marvin Humphrey
        11. 0005-Attach-opening-brackets-for-functions-to-end-of-the-.patch
          791 kB
          Marvin Humphrey
        12. 0004-Adapt-preprocessor-macros-for-pre-ANSI-style.patch
          59 kB
          Marvin Humphrey
        13. 0003-Remove-trailing-whitespace-from-C-code.patch
          968 kB
          Marvin Humphrey

          Activity

            People

            • Assignee:
              marvin Marvin Humphrey
              Reporter:
              marvin Marvin Humphrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: