Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

mitchell-stellar (Mitchell)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 1 2019, 1:21 PM (209 w, 1 d)

Recent Activity

May 7 2023

mitchell-stellar accepted D150057: [clang-format] Fix consecutive alignments in #else blocks.

LGTM. Well done!

May 7 2023, 7:23 AM · Restricted Project, Restricted Project, Restricted Project

May 4 2023

mitchell-stellar added a comment to D134042: [clang-format] Fix alignment in #else preprocessor blocks.

I retract my objection. I forgot that from clang-format's perspective, #else blocks in separate functions have the same indent and nesting level, and thus the same "scope", so the alignment issues may persist there. You will see misalignment in #else blocks over an entire source file whether you keep or revert this fix (i.e. pick your poison.) I suppose based on precedent we keep the misalignments I wanted to fix since I introduced misalignments in other cases.

May 4 2023, 2:29 PM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar added a comment to D134042: [clang-format] Fix alignment in #else preprocessor blocks.

After reviewing the GitHub issue, it looks like the IndentAndNestingLevel is sticky over the entire scope for #else blocks, so the regression only occurs within #else blocks in the same scope. The bug I fixed affected alignment in all #else blocks, regardless of scope.

May 4 2023, 2:13 PM · Restricted Project, Restricted Project, Restricted Project

Sep 21 2022

mitchell-stellar updated the diff for D134042: [clang-format] Fix alignment in #else preprocessor blocks.

Do not limit columns and added nested test case.

Sep 21 2022, 12:08 PM · Restricted Project, Restricted Project, Restricted Project

Sep 16 2022

mitchell-stellar updated the diff for D134042: [clang-format] Fix alignment in #else preprocessor blocks.

Added context and use verifyFormat().

Sep 16 2022, 1:45 PM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar requested review of D134042: [clang-format] Fix alignment in #else preprocessor blocks.
Sep 16 2022, 6:43 AM · Restricted Project, Restricted Project, Restricted Project

Mar 2 2021

mitchell-stellar added a comment to D96744: clang-format IncludeBlocks: Regroup determination of "main" for framework-style includes fix.

I am in favor of a new option, IncludeIsMainAllowBraces. It keeps things simple and does not cause any backwards-compatibility issues. The ${} variables are clever, but if "users unconcerned with formatting ... could get the current functionality by including a simple rule [that includes a variable]", I think it might be asking too much. Being able to write (and read) an include regex without referring to documentation seems ideal to me. You mentioned automatically adding variables in rules for backwards-compatibility, but I'd be a bit concerned about robustness and too much magic going on behind the scenes for users to understand if something goes wrong or has unexpected/unexplained results.

Mar 2 2021, 12:51 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jan 4 2021

mitchell-stellar added a comment to rGc5c487f0d4c6: Revert "[clang-format] Add option to specify explicit config file" There were a….

@MyDeveloperDay No. I was committing on behalf of someone else and I don't think they got around to fixing failing tests.

Jan 4 2021, 7:56 AM

Dec 4 2020

mitchell-stellar accepted D79773: [clang-format] Improve clang-formats handling of concepts.

I am in favor of landing this and iterating.

Dec 4 2020, 6:18 AM · Restricted Project, Restricted Project

Aug 5 2020

mitchell-stellar committed rG7ad60f6452ff: [clang-format] fix BreakBeforeBraces.MultiLine with for each macros (authored by mitchell-stellar).
[clang-format] fix BreakBeforeBraces.MultiLine with for each macros
Aug 5 2020, 11:32 AM
mitchell-stellar closed D85304: [clang-format] fix BreakBeforeBraces.MultiLine with for each macros.
Aug 5 2020, 11:32 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar accepted D85304: [clang-format] fix BreakBeforeBraces.MultiLine with for each macros.

LGTM.

Aug 5 2020, 11:04 AM · Restricted Project, Restricted Project, Restricted Project

May 6 2020

mitchell-stellar added a comment to D78869: clang-format: Add ControlStatementsExceptForEachMacros option to SpaceBeforeParens.

I often:

May 6 2020, 9:07 AM · Restricted Project, Restricted Project

Apr 7 2020

mitchell-stellar removed a reviewer for D77039: [clang-format] Don't break multi block parameters on ObjCBreakBeforeNestedBlockParam: mitchell-stellar.
Apr 7 2020, 12:31 PM · Restricted Project, Restricted Project

Apr 3 2020

mitchell-stellar added inline comments to D75364: [clang-format] Handle macros in function params and return value.
Apr 3 2020, 11:20 AM · Restricted Project, Restricted Project

Mar 11 2020

mitchell-stellar committed rGc5c487f0d4c6: Revert "[clang-format] Add option to specify explicit config file" There were a… (authored by mitchell-stellar).
Revert "[clang-format] Add option to specify explicit config file" There were a…
Mar 11 2020, 1:36 PM
mitchell-stellar added a reverting change for rG10b1a87ba35d: [clang-format] Add option to specify explicit config file Summary: This diff…: rGc5c487f0d4c6: Revert "[clang-format] Add option to specify explicit config file" There were a….
Mar 11 2020, 1:36 PM
mitchell-stellar reopened D72326: [clang-format] Add option to explicitly specify a config file.

Reverted this commit due to an unexpected test failure:

Mar 11 2020, 1:35 PM · Restricted Project, Restricted Project
mitchell-stellar committed rG10b1a87ba35d: [clang-format] Add option to specify explicit config file Summary: This diff… (authored by mitchell-stellar).
[clang-format] Add option to specify explicit config file Summary: This diff…
Mar 11 2020, 1:03 PM
mitchell-stellar closed D72326: [clang-format] Add option to explicitly specify a config file.
Mar 11 2020, 1:02 PM · Restricted Project, Restricted Project

Mar 6 2020

mitchell-stellar committed rG2eff1c3ce48e: [clang-format] Extend AllowShortLoopsOnASingleLine to do ... while loops. (authored by mitchell-stellar).
[clang-format] Extend AllowShortLoopsOnASingleLine to do ... while loops.
Mar 6 2020, 8:48 AM
mitchell-stellar closed D75022: clang-format: Extend AllowShortLoopsOnASingleLine to do ... while loops..
Mar 6 2020, 8:47 AM · Restricted Project, Restricted Project
mitchell-stellar added a comment to D72326: [clang-format] Add option to explicitly specify a config file.

It's not more approval that is needed, it's just that someone with commit access (assuming you do not) needs to find the time to commit this. For what it's worth, I'm getting a patch rejection for the 4th block in lib/Format/Format.cpp. It seems the contents of LoadConfigFile need to be updated to reflect the most recent changes, so please rebase against master when you can.

Mar 6 2020, 8:46 AM · Restricted Project, Restricted Project

Feb 27 2020

mitchell-stellar added a comment to D75022: clang-format: Extend AllowShortLoopsOnASingleLine to do ... while loops..

Not that I am aware of. Whoever ends up doing the merge will likely run the necessary tests before committing. If you've run as many as you can, then hopefully all will be fine.

Feb 27 2020, 5:12 AM · Restricted Project, Restricted Project

Feb 26 2020

mitchell-stellar updated subscribers of D75034: [clang-format] use spaces for alignment with UT_ForContinuationAndIndentation.

Digging through the history, it seems this behavior was explicitly desired: https://reviews.llvm.org/D19028. @mxbOctasic was the original author and perhaps could comment. Regardless, I think there should be a new option.

Feb 26 2020, 6:46 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar accepted D75022: clang-format: Extend AllowShortLoopsOnASingleLine to do ... while loops..

Assuming this passes all existing tests, LGTM.

Feb 26 2020, 6:24 AM · Restricted Project, Restricted Project

Jan 7 2020

mitchell-stellar committed rG73d93617d3ae: [clang-tidy] modernize-use-using uses AST and now supports struct defintions… (authored by mitchell-stellar).
[clang-tidy] modernize-use-using uses AST and now supports struct defintions…
Jan 7 2020, 1:37 PM
mitchell-stellar closed D70270: clang-tidy: modernize-use-using uses AST and now supports struct defintions and multiple types in a typedef.
Jan 7 2020, 1:37 PM · Restricted Project, Restricted Project

Jan 6 2020

mitchell-stellar committed rGd45aafa2fbcf: [clang-format] fix conflict between FormatStyle::BWACS_MultiLine and… (authored by mitchell-stellar).
[clang-format] fix conflict between FormatStyle::BWACS_MultiLine and…
Jan 6 2020, 6:24 AM
mitchell-stellar closed D71939: clang-format: fix conflict between FormatStyle::BWACS_MultiLine and BeforeCatch/BeforeElse.
Jan 6 2020, 6:24 AM · Restricted Project

Dec 20 2019

mitchell-stellar accepted D71769: [clang-format] C# formatting a class with inheritance followed by an attribute specifier assume its a braces initializer.

LGTM

Dec 20 2019, 7:48 AM · Restricted Project, Restricted Project

Dec 18 2019

mitchell-stellar requested changes to D71659: [clang-format] Added new option to allow setting spaces before and after the operator.

This feature is missing unit tests. Also, what is the reason for all the comment changes? I don't think the changed comment lines originally exceeded 80 characters.

Dec 18 2019, 6:18 AM · Restricted Project, Restricted Project

Dec 3 2019

mitchell-stellar committed rG26748a321e20: [clang-format] Add new option to add spaces around conditions Summary: This… (authored by mitchell-stellar).
[clang-format] Add new option to add spaces around conditions Summary: This…
Dec 3 2019, 9:28 AM
mitchell-stellar closed D68346: [clang-format] Add new option to add spaces around conditions.
Dec 3 2019, 9:28 AM · Restricted Project, Restricted Project

Nov 20 2019

mitchell-stellar committed rG24aafcadff38: [clang-tidy] modernize-use-equals-default avoid adding redundant semicolons (authored by mitchell-stellar).
[clang-tidy] modernize-use-equals-default avoid adding redundant semicolons
Nov 20 2019, 3:20 PM
mitchell-stellar closed D70144: clang-tidy: modernize-use-equals-default avoid adding redundant semicolons.
Nov 20 2019, 3:20 PM · Restricted Project

Nov 19 2019

mitchell-stellar committed rG4f7dce78c237: [NFC] Attempting to fix sphinx build failure with badly encoded characters from… (authored by mitchell-stellar).
[NFC] Attempting to fix sphinx build failure with badly encoded characters from…
Nov 19 2019, 8:43 AM
mitchell-stellar committed rG62871305c28f: [NFC] Attempting to fix sphinx build failure with badly encoded characters from… (authored by mitchell-stellar).
[NFC] Attempting to fix sphinx build failure with badly encoded characters from…
Nov 19 2019, 8:15 AM
mitchell-stellar committed rG980653621ef5: [clang-tidy] Give readability-redundant-member-init an option… (authored by mitchell-stellar).
[clang-tidy] Give readability-redundant-member-init an option…
Nov 19 2019, 8:06 AM
mitchell-stellar closed D69145: Give readability-redundant-member-init an option IgnoreBaseInCopyConstructors to avoid breaking code with gcc -Werror=extra.
Nov 19 2019, 8:06 AM · Restricted Project, Restricted Project
mitchell-stellar committed rGdf11117086fe: [clang-tidy] modernize-use-override new option AllowOverrideAndFinal (authored by mitchell-stellar).
[clang-tidy] modernize-use-override new option AllowOverrideAndFinal
Nov 19 2019, 5:03 AM
mitchell-stellar committed rG1315f4e009b0: [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a (authored by mitchell-stellar).
[clang-tidy] Fix readability-redundant-string-init for c++17/c++2a
Nov 19 2019, 5:03 AM
mitchell-stellar closed D70165: clang-tidy: modernize-use-override new option AllowOverrideAndFinal.
Nov 19 2019, 5:03 AM · Restricted Project
mitchell-stellar closed D69238: Fix clang-tidy readability-redundant-string-init for c++17/c++2a.
Nov 19 2019, 5:03 AM · Restricted Project, Restricted Project
mitchell-stellar committed rGf8901aff4a8f: Revert "[clang-tidy] modernize-use-override new option AllowOverrideAndFinal" (authored by mitchell-stellar).
Revert "[clang-tidy] modernize-use-override new option AllowOverrideAndFinal"
Nov 19 2019, 5:03 AM
mitchell-stellar committed rG41ee54e5d188: Revert "[clang-tidy] Fix readability-redundant-string-init for c++17/c++2a" (authored by mitchell-stellar).
Revert "[clang-tidy] Fix readability-redundant-string-init for c++17/c++2a"
Nov 19 2019, 5:03 AM
mitchell-stellar added a reverting change for rG50e99563fb04: [clang-tidy] modernize-use-override new option AllowOverrideAndFinal: rGf8901aff4a8f: Revert "[clang-tidy] modernize-use-override new option AllowOverrideAndFinal".
Nov 19 2019, 5:03 AM
mitchell-stellar added a reverting change for rG06f3dabe4a2e: [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a: rG41ee54e5d188: Revert "[clang-tidy] Fix readability-redundant-string-init for c++17/c++2a".
Nov 19 2019, 5:03 AM
mitchell-stellar reopened D69238: Fix clang-tidy readability-redundant-string-init for c++17/c++2a.

Reopening in order to correct the accidentally swapped commits between this ticket and https://reviews.llvm.org/D70165.

Nov 19 2019, 4:53 AM · Restricted Project, Restricted Project
mitchell-stellar reopened D70165: clang-tidy: modernize-use-override new option AllowOverrideAndFinal.

Reopening in order to correct the accidentally swapped commits between this ticket and https://reviews.llvm.org/D69238.

Nov 19 2019, 4:53 AM · Restricted Project
mitchell-stellar added a comment to D70165: clang-tidy: modernize-use-override new option AllowOverrideAndFinal.

Oops, it looks like I mixed up this ticket with https://reviews.llvm.org/D69238. Sorry about that. Would you like me to revert both commits and then re-commit with the correct links, etc.?

Nov 19 2019, 4:28 AM · Restricted Project

Nov 18 2019

mitchell-stellar added a comment to D70165: clang-tidy: modernize-use-override new option AllowOverrideAndFinal.

Yes, there was a failing unit test that had to be fixed. I reverted the first commit and then committed a version that fixed the failing test.

Nov 18 2019, 2:19 PM · Restricted Project
mitchell-stellar accepted D70355: [clang-format] [NFC] add recent changes to release notes.

LGTM

Nov 18 2019, 10:14 AM · Restricted Project, Restricted Project

Nov 15 2019

mitchell-stellar committed rG06f3dabe4a2e: [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a (authored by mitchell-stellar).
[clang-tidy] Fix readability-redundant-string-init for c++17/c++2a
Nov 15 2019, 3:16 PM
mitchell-stellar committed rG12d7500ba241: [clang-tidy] Give readability-redundant-string-init a customizable list of… (authored by mitchell-stellar).
[clang-tidy] Give readability-redundant-string-init a customizable list of…
Nov 15 2019, 3:16 PM
mitchell-stellar closed D69238: Fix clang-tidy readability-redundant-string-init for c++17/c++2a.
Nov 15 2019, 3:16 PM · Restricted Project, Restricted Project
mitchell-stellar committed rG47bd7c57e556: Revert "[clang-tidy] Give readability-redundant-string-init a customizable list… (authored by mitchell-stellar).
Revert "[clang-tidy] Give readability-redundant-string-init a customizable list…
Nov 15 2019, 1:49 PM
mitchell-stellar added a reverting change for rG96fbc32cb9ea: [clang-tidy] Give readability-redundant-string-init a customizable list of…: rG47bd7c57e556: Revert "[clang-tidy] Give readability-redundant-string-init a customizable list….
Nov 15 2019, 1:48 PM
mitchell-stellar committed rG96fbc32cb9ea: [clang-tidy] Give readability-redundant-string-init a customizable list of… (authored by mitchell-stellar).
[clang-tidy] Give readability-redundant-string-init a customizable list of…
Nov 15 2019, 1:48 PM
mitchell-stellar closed D69548: Give clang-tidy readability-redundant-string-init a customizable list of string types to fix.
Nov 15 2019, 1:48 PM · Restricted Project, Restricted Project
mitchell-stellar committed rG50e99563fb04: [clang-tidy] modernize-use-override new option AllowOverrideAndFinal (authored by mitchell-stellar).
[clang-tidy] modernize-use-override new option AllowOverrideAndFinal
Nov 15 2019, 1:22 PM
mitchell-stellar closed D70165: clang-tidy: modernize-use-override new option AllowOverrideAndFinal.
Nov 15 2019, 1:22 PM · Restricted Project
mitchell-stellar committed rG782392db8122: [clang-tidy] modernize-use-using work with multi-argument templates (authored by mitchell-stellar).
[clang-tidy] modernize-use-using work with multi-argument templates
Nov 15 2019, 1:13 PM
mitchell-stellar closed D67460: clang-tidy: modernize-use-using work with multi-argument templates.
Nov 15 2019, 1:13 PM · Restricted Project, Restricted Project

Nov 14 2019

mitchell-stellar committed rG4ee70e00b509: [clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing bare… (authored by mitchell-stellar).
[clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing bare…
Nov 14 2019, 10:34 AM
mitchell-stellar closed D70249: [clang-format] Fixed edge-case with `Style.SpacesInSquareBrackets` with trailing bare `&` lambda capture.
Nov 14 2019, 10:34 AM · Restricted Project, Restricted Project
mitchell-stellar created D70249: [clang-format] Fixed edge-case with `Style.SpacesInSquareBrackets` with trailing bare `&` lambda capture.
Nov 14 2019, 9:20 AM · Restricted Project, Restricted Project
mitchell-stellar added inline comments to D54628: Extend format with AllowShortEnumsOnASingleLine option.
Nov 14 2019, 8:34 AM · Restricted Project, Restricted Project

Nov 8 2019

mitchell-stellar accepted D69951: [clang-format] NFC allow Format.h to be clang-formatted but still maintain the same doc layout in ClangFormatStyleOptions.rst.

LGTM

Nov 8 2019, 11:21 AM · Restricted Project, Restricted Project
mitchell-stellar added inline comments to D69951: [clang-format] NFC allow Format.h to be clang-formatted but still maintain the same doc layout in ClangFormatStyleOptions.rst.
Nov 8 2019, 9:58 AM · Restricted Project, Restricted Project
mitchell-stellar added inline comments to D69951: [clang-format] NFC allow Format.h to be clang-formatted but still maintain the same doc layout in ClangFormatStyleOptions.rst.
Nov 8 2019, 6:43 AM · Restricted Project, Restricted Project
mitchell-stellar added inline comments to D69951: [clang-format] NFC allow Format.h to be clang-formatted but still maintain the same doc layout in ClangFormatStyleOptions.rst.
Nov 8 2019, 6:25 AM · Restricted Project, Restricted Project
mitchell-stellar accepted D70003: [clang-format] Ensure dump_format_style.py can generate ClangFormatStyleOptions.rst without manual intervention.

LGTM

Nov 8 2019, 6:25 AM · Restricted Project, Restricted Project

Nov 6 2019

mitchell-stellar accepted D56345: [clang-format] Assert that filenames are not empty.

LGTM

Nov 6 2019, 5:29 AM · Restricted Project, Restricted Project

Oct 31 2019

mitchell-stellar committed rG8d7bd5752648: [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref"… (authored by mitchell-stellar).
[clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref"…
Oct 31 2019, 8:18 AM
mitchell-stellar closed D69649: [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref" Parameter.
Oct 31 2019, 8:18 AM · Restricted Project, Restricted Project
mitchell-stellar added a comment to D69649: [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref" Parameter.

Never mind, I got it resolved and pushed. Sorry for the noise.

Oct 31 2019, 8:18 AM · Restricted Project, Restricted Project
mitchell-stellar added a comment to D69649: [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref" Parameter.

Thanks. Would you mind committing this on my behalf? It seems I wasn't migrated from SVN access to git access. It may take some time to sort out.

Oct 31 2019, 7:13 AM · Restricted Project, Restricted Project

Oct 30 2019

mitchell-stellar created D69649: [clang-format] Fix SpacesInSquareBrackets for Lambdas with Initial "&ref" Parameter.
Oct 30 2019, 4:04 PM · Restricted Project, Restricted Project

Oct 29 2019

mitchell-stellar added a comment to D69433: [clang-format] [NFC] update the documentation in Format.h to allow dump_format_style.py to get a little closer to being correct. (part 2).

Sounds like you know what you're doing.

Oct 29 2019, 7:30 AM · Restricted Project, Restricted Project
mitchell-stellar accepted D69433: [clang-format] [NFC] update the documentation in Format.h to allow dump_format_style.py to get a little closer to being correct. (part 2).
Oct 29 2019, 7:30 AM · Restricted Project, Restricted Project

Oct 25 2019

mitchell-stellar added inline comments to D69433: [clang-format] [NFC] update the documentation in Format.h to allow dump_format_style.py to get a little closer to being correct. (part 2).
Oct 25 2019, 2:01 PM · Restricted Project, Restricted Project
mitchell-stellar added inline comments to D69433: [clang-format] [NFC] update the documentation in Format.h to allow dump_format_style.py to get a little closer to being correct. (part 2).
Oct 25 2019, 8:43 AM · Restricted Project, Restricted Project
mitchell-stellar accepted D69404: [clang-format] [NFC] update the documentation in Format.h to allow dump_format_style.py to get a little closer to being correct..

LGTM.

Oct 25 2019, 6:31 AM · Restricted Project, Restricted Project

Oct 17 2019

mitchell-stellar accepted D68346: [clang-format] Add new option to add spaces around conditions.

LGTM

Oct 17 2019, 6:52 AM · Restricted Project, Restricted Project

Oct 15 2019

mitchell-stellar requested changes to D68346: [clang-format] Add new option to add spaces around conditions.
Oct 15 2019, 11:45 AM · Restricted Project, Restricted Project

Oct 9 2019

mitchell-stellar accepted D68707: [clang-format] throws an incorrect assertion in consumeToken() formatting the MSVC stl.

Okay.

Oct 9 2019, 11:08 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar added a comment to D68707: [clang-format] throws an incorrect assertion in consumeToken() formatting the MSVC stl.

To me, whether or not the assertion was valid is irrelevant. That assertion was intentionally added, and its replacement with an if() statement materially changes the inputs and outputs of the function. I'm questioning whether the input of a "while" token within a preprocessor statement should output true or false. (Before, it didn't output anything; it errored.) Does this make sense? I'm just asking for clarification on this change.

Oct 9 2019, 9:59 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar added inline comments to D68707: [clang-format] throws an incorrect assertion in consumeToken() formatting the MSVC stl.
Oct 9 2019, 8:44 AM · Restricted Project, Restricted Project, Restricted Project
MyDeveloperDay awarded rG791b0e416016: [NFC] Test commit. Testing llvm commit access only. a Like token.
Oct 9 2019, 8:20 AM
mitchell-stellar committed rG77c9736ef3e0: [NFC] Reverting changes from test commit. llvm commit access test succeeded. (authored by mitchell-stellar).
[NFC] Reverting changes from test commit. llvm commit access test succeeded.
Oct 9 2019, 8:17 AM
mitchell-stellar committed rG791b0e416016: [NFC] Test commit. Testing llvm commit access only. (authored by mitchell-stellar).
[NFC] Test commit. Testing llvm commit access only.
Oct 9 2019, 8:17 AM

Oct 7 2019

mitchell-stellar added a comment to D68554: [clang-format] Proposal for clang-format to give compiler style warnings.

I don't care for the command line switches that try to emulate compiler flags. I am also of the opinion that external scripts should be used for this functionality. git for Windows gives you a full set of bash utilities to utilize, so doing stuff like this on Windows is much easier now.

Oct 7 2019, 9:51 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar updated subscribers of D29039: [clang-format] Proposal for clang-format -r option.

I agree with @djasper that this is outside the scope of clang-format. git for Windows gives you a full set of bash utilities to utilize, so doing stuff like this on Windows is much easier now.

Oct 7 2019, 9:45 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar accepted D68551: [clang-format] [NFC] Ensure clang-format is itself clang-formatted..

I agree that a system in place that either enforces clang-formatting on commit or after the fact would be ideal. Otherwise, I don't see a need to have to approve these NFC commits.

Oct 7 2019, 9:34 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar accepted D68481: [clang-format] [PR27004] omits leading space for noexcept when formatting operator delete().

LGTM

Oct 7 2019, 9:27 AM · Restricted Project, Restricted Project, Restricted Project

Oct 4 2019

mitchell-stellar requested changes to D68481: [clang-format] [PR27004] omits leading space for noexcept when formatting operator delete().
Oct 4 2019, 2:30 PM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar added a comment to D68473: [clang-format] SpacesInSquareBrackets should affect lambdas with parameters too.

Thanks, please commit on my behalf.

Oct 4 2019, 10:43 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar created D68473: [clang-format] SpacesInSquareBrackets should affect lambdas with parameters too.
Oct 4 2019, 10:26 AM · Restricted Project, Restricted Project, Restricted Project
mitchell-stellar requested changes to D67773: [clang-format[PR43144] Add support for SpaceAroundBraces style .

This needs to be more thought out. At the very least it needs to cover more keywords like do, switch, try, and catch. There may be more. Consideration also needs to be made for class, functions, namespace, etc. Otherwise this is an experimental feature at best. There is also confusion with how it may interact with SpaceBeforeCpp11BracedList. The name SpacesAroundBraces is just too generic in that regard considering the fact that braces play multiple roles in C++.

Oct 4 2019, 8:43 AM · Restricted Project, Restricted Project, Restricted Project