https://llvm.org/bugs/show_bug.cgi?id=27263
Bug ID: 27263 Summary: Indention Style: Horstmann style Product: clang Version: unspecified Hardware: PC URL: https://en.wikipedia.org/wiki/Indent_style#Horstmann_s tyle OS: Linux Status: NEW Severity: enhancement Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: winter-l...@bfw-online.de CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified Hi, the indention style is a mere adaption of Allman albeit "saving" space since it folds continuing lines of a new block content in the very line of the opening brace: https://en.wikipedia.org/wiki/Indent_style#Horstmann_style https://community.oracle.com/blogs/cayhorstmann/2010/06/28/horstmann-brace-style Artistic style implements it as well: http://manpages.ubuntu.com/manpages/natty/man1/astyle.1.html I have not yet looked at the soure code of clang-format so I cannot say how complicated its addition would be nor have a looked around for a precise style guide where someone uses/describes this particular style. Maybe by having this bug report open this beloved indention style could gain some interest ;) Regards, Leon -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs