[PATCH] D22505: [clang-format] Access Modifier Use Normal Indent

2022-11-20 Thread Björn Schäpers via Phabricator via cfe-commits
HazardyKnusperkeks abandoned this revision. HazardyKnusperkeks added a comment. Closing because of the long silence. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D22505/new/ https://reviews.llvm.org/D22505 _

[PATCH] D22505: [clang-format] Access Modifier Use Normal Indent

2021-12-06 Thread MyDeveloperDay via Phabricator via cfe-commits
MyDeveloperDay added a comment. I recently reviewed this item, but I wonder what the overlap with D94661: [clang-format] [PR19056] Add support for access modifiers indentation is Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://review

[PATCH] D22505: [clang-format] Access Modifier Use Normal Indent

2021-11-22 Thread Björn Schäpers via Phabricator via cfe-commits
HazardyKnusperkeks added a comment. In D22505#3147501 , @MyDeveloperDay wrote: > I think so, it came to the top because someone subscribed to it, I was > wondering if this was something that is still needed or if our existing > options cover this. > > I

[PATCH] D22505: [clang-format] Access Modifier Use Normal Indent

2021-11-22 Thread MyDeveloperDay via Phabricator via cfe-commits
MyDeveloperDay added a comment. I think so, it came to the top because someone subscribed to it, I was wondering if this was something that is still needed or if our existing options cover this. I recently came across a style like this. I don't know if there is still interest. Repository:

[PATCH] D22505: [clang-format] Access Modifier Use Normal Indent

2021-11-22 Thread Björn Schäpers via Phabricator via cfe-commits
HazardyKnusperkeks added a comment. This is dead, isn't it? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D22505/new/ https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[PATCH] D22505: clang-format Access Modifier Use Normal Indent

2018-02-01 Thread Tim Ansell via Phabricator via cfe-commits
mithro added a comment. Herald added subscribers: hintonda, mgorny. I was wondering what the status of this feature was? Looks like it was last touched back in Aug 2 2016 -- do you know if a different or replacement patch was landed? I have a project (https://github.com/verilog-to-routing/vtr-v

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Daniel Jasper via cfe-commits
djasper added a comment. No, I don't think so. Because you need a "double-indent" within classes. https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Loki Astari via cfe-commits
LokiAstari added a comment. > That should already be doable with a negative offset today, right? Yes. So I don't need to add any changes. right? https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.l

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Manuel Klimek via cfe-commits
klimek added a comment. In https://reviews.llvm.org/D22505#503472, @LokiAstari wrote: > I don't have a problem changing it so the default behaviour is: > > class C { > int v1; > private: > int v2; > }; > > > But I would like to retain the functionality that if there is no e

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Loki Astari via cfe-commits
LokiAstari added a comment. I don't have a problem changing it so the default behaviour is: class C { int v1; private: int v2; }; But I would like to retain the functionality that if there is no explicit public/private/protected that it follows the original. But if there is

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Daniel Jasper via cfe-commits
djasper added a comment. I generally agree. Note, however, that the mentioned style guide doesn't actually specify this. All it says is "The public, protected, and private keywords should be indented inside the class with the function declarations indented as well." So I guess, class C {

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Manuel Klimek via cfe-commits
klimek added a comment. (full disclosure: I'm also generally opposed to this change, but if there are really enough users using this it's probably a lost cause) https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Manuel Klimek via cfe-commits
klimek added a comment. In https://reviews.llvm.org/D22505#503278, @djasper wrote: > So you'd be for #1 of the three choices from my previous comment? Yes, because I think ultimately introducing scopes is different from simple outdents/indents. https://reviews.llvm.org/D22505

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Daniel Jasper via cfe-commits
djasper added a comment. So you'd be for #1 of the three choices from my previous comment? https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-02 Thread Manuel Klimek via cfe-commits
klimek added a comment. Perhaps call it AccessModifierIntroducesScope or something? Side-track: I find it highly confusing that in class C { int v1; private: int v2; } v1 & v2 have different indent, although they are in the same scope. https://reviews.llvm.org/D22505

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-08-01 Thread Loki Astari via cfe-commits
LokiAstari added a comment. @djasper@klimek Just want to bring this to the top of your queue again :-) Any further thoughts on the processes? Loki https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-07-25 Thread Loki Astari via cfe-commits
LokiAstari added a comment. Hope you don't mind me chiming in: > Roughly go ahead with what you are suggesting, although the option should not > be called AccessModifierStandardIndent, as that carries no meaning and > actually is far from the "standard" way. Reasonable names that spring to mind

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-07-25 Thread Daniel Jasper via cfe-commits
djasper added a comment. Sorry, my bad. I should have replied sooner. I believe we can move further with this seems to be used widely enough (though it really doesn't make sense in my personal opinion ;) ). My main concern is how we are going to configure this in the long run. This is mostly m

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-07-25 Thread Loki Astari via cfe-commits
LokiAstari added a comment. @djasper@klimek Hi guys, I am not sure how to move this PR forward. I am not sure if you are uninterested or if this is two minor in comparison to other issues. If there is some other task I need to do to move this forward I more than happy to do some leg wo

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-07-20 Thread Loki Astari via cfe-commits
LokiAstari added a comment. @djasper@klimek Is that a sufficient example? Or do I need to do some more exhaustive search of github for projects? https://reviews.llvm.org/D22505 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http:/

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-07-19 Thread Loki Astari via cfe-commits
LokiAstari added a comment. Each new style option must :: - be used in a project of significant size (have dozens of contributors) - have a publicly accessible style guide - have a person willing to contribute and maintain patches Example: https://github.com/openframeworks/openFrameworks St

Re: [PATCH] D22505: clang-format Access Modifier Use Normal Indent

2016-07-19 Thread Daniel Jasper via cfe-commits
djasper added a comment. Before we continue with the actual code review and brainstorming how we could actually call this option, can you read through http://clang.llvm.org/docs/ClangFormatStyleOptions.html#adding-additional-style-options and provide feedback about why this option qualifies?