Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ClangFormat v17.0.0 #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

tanzislam
Copy link

@tanzislam tanzislam commented May 24, 2018

Add an indenter configuration file for ClangFormat v17.0.0. It can generate all the documented .clang-format options, except the following:

  • ExperimentalAutoDetectBinPacking, because it is discouraged from use in config files.

  • AlwaysBreakAfterDefinitionReturnType, DeriveLineEnding, SpaceInEmptyParentheses, SpacesInCStyleCastParentheses, SpacesInConditionalStatement, SpacesInParentheses and UseCRLF, because they are now deprecated.

  • IncludeCategories and RawStringFormats, because their option values are highly structured YAML and beyond the capabilities of UniversalIndentGUI.

Also enlist ClangFormat in the list of supported indenters in the text, HTML and Markdown README files (but not in the binary PDF file) and in the release packaging scripts.

@tanzislam tanzislam force-pushed the add-clang-format-support branch from 7ae5d5e to db2a554 Compare October 22, 2018 01:42
@tanzislam tanzislam changed the title Support ClangFormat v7.0.0 Support ClangFormat v8.0.0 Jun 15, 2019
@tanzislam tanzislam changed the title Support ClangFormat v8.0.0 Support ClangFormat v9.0.0 Oct 16, 2019
@tanzislam tanzislam force-pushed the add-clang-format-support branch from 2125e92 to 5c11743 Compare October 16, 2019 15:57
@tanzislam tanzislam changed the title Support ClangFormat v9.0.0 Support ClangFormat v10.0.0 Mar 28, 2020
@tanzislam tanzislam changed the title Support ClangFormat v10.0.0 Support ClangFormat v11.0.0 Oct 18, 2020
@tanzislam tanzislam force-pushed the add-clang-format-support branch from e3b09f5 to 0d5307b Compare May 9, 2021 12:20
@tanzislam tanzislam changed the title Support ClangFormat v11.0.0 Support ClangFormat v12.0.0 May 9, 2021
@tanzislam tanzislam force-pushed the add-clang-format-support branch from 0d5307b to 86ac2cf Compare November 6, 2021 07:35
Add an indenter configuration file for [ClangFormat v7.0.0](http://releases.llvm.org/7.0.0/tools/clang/docs/ClangFormat.html). It can generate all the documented `.clang-format` options, except the following:

 - `ExperimentalAutoDetectBinPacking`, because it is discouraged from use in config files.

 - `AlwaysBreakAfterDefinitionReturnType`, as it is now deprecated.

 - `IncludeCategories` and `RawStringFormats`, because their option values are highly structured YAML and beyond the capabilities of UniversalIndentGUI.

Also enlist ClangFormat in the list of supported indenters in the text, HTML and Markdown README files (but not in the binary PDF file) and in the release packaging scripts.
- Incorporate changes from llvm/llvm-project adcb3f5, 15000a1, 701a0d7, cbb726d, c6deae4, a83e2db, 91f60b4, 806d574, d7f287f, c5227a1, e8a301f and 04ee232.
- Change ClangFormat webpage links to versioned ones.
Incorporate changes from llvm/llvm-project 0e074fa, db4ad36, 10234da, 37860d5, 3867a2d, a506ed2, e503256, fb13e65, b3cc321, 375a84b, c209598, 23b7836, eadb65f, 335ac2e, a4a7c12, 26748a3 and 4daa8d1.
Incorporate changes from llvm/llvm-project 14c0447, 70c9867, dc04c54, fa0118e, 10b1a87, c5c487f, 28ecd7f, e811150, 3d61b11, 47ef09e, 0fa7e4a, 292058a, f21c704, 0ee04e6, b99bf0e, 807ab2c, 6ef45b0, 51dbda5 and 0c332a7.
Incorporate changes from llvm/llvm-project 6d7ec54, 52ab7aa, e7bd058, 4dd9c70, 2e7add8, 9e27f38, 1e4d6d1, 840e651, e9e6e3b, 47877c9, 9af0386, bcc1dee, b43075e, f00a20e, 7b9d88a, 2563147, 33a63a3, 3395a33, 60bf582, f02eca0, 6d5c1cd
@tanzislam tanzislam force-pushed the add-clang-format-support branch from 86ac2cf to d26a611 Compare November 15, 2021 00:09
@tanzislam tanzislam changed the title Support ClangFormat v12.0.0 Support ClangFormat v13.0.0 Nov 15, 2021
@tanzislam tanzislam changed the title Support ClangFormat v13.0.0 Support ClangFormat v15.0.0 Oct 8, 2022
Incorporate changes from llvm/llvm-project 078f30e, 4ad41f1, 772eb24, a8105b3, 25f753c, 2a42c75, 6ca5281, 7b02794, 31443f8, dda978e, 8702c6d, 09b75f4, 6f605b8, 673c5ba, 64cf5eb, be9a87f, b3ccf4f, a08fa8a, 8b7881a
Incorporate changes from llvm/llvm-project 0391165, 612048a, 8a780a2, a44ab17, 9e8fff2, 23a5090, 2c60cfc, dd3caa9, a2a826d, 931d20c, c71fbdd, 6facafe, 0c66025, 212e6c9, 80e20f9, b9e173f, 6f6f88f, da6b0d0, c2257fe, 533fbae, 966f24e, 5ea9898, 058c5df
Incorporate changes from llvm/llvm-project 6cd0015, 9aab0db, b786a4a, 8f310d1, 77e60bc, 5e51ace, adfe58b, 9106a07, 93b5505, c24b3db (only for AlignConsecutiveAssignments), 45cb2df, 1cd4346, 712b59c, cc55d97, b246574
Incorporate changes from llvm/llvm-project 2fd2f26, 961fd77, 2adf241, 95b3947, 69e7727, 231fc00, 9c422ab, 3edc121, 63a3a06, 691774d, 41a09a0, f6b2529, 40c1476, cb01bef, 7b36538, 4cafc37, ba4caec, 46c94e5, f0756e0, 89aad1e, ed4afd1, a28f074, 2c6ecc9, 879bfe6, 1b1d8ac, 922c889, d3b5634, c0a5374, b4ad387, 0d0dab4, a74bc43, 9cddd7a, e3eca33, 58751f9

`DeriveLineEnding` and `UseCRLF` are removed as they are now deprecated.
Incorporate changes from llvm/llvm-project 25e2d0f, 4f37de9, c24cdd5, 7a5b957, 7c92820, b94175b, af98f3b, 253985d, 74cc438, 5c614bd, 8385ee0, 64ae766, c12aa69, 2db0812, 369e876, 10518fe, aed7959, d2627cf, b6a7180, 829ed96, f6d557e, 413a7cb, 9ec5dc6, 3a6a070, 5c106f7, 8f54b83, 4ba0084, 4f093b3, ac6e551, 87ad34f, 74720d1, c669541

`SpaceInEmptyParentheses`, `SpacesInCStyleCastParentheses`, `SpacesInConditionalStatement` and `SpacesInParentheses` are removed as they are now deprecated.
@tanzislam tanzislam force-pushed the add-clang-format-support branch from 2c6cd65 to a8fd0f7 Compare October 1, 2023 22:58
@tanzislam tanzislam changed the title Support ClangFormat v15.0.0 Support ClangFormat v17.0.0 Oct 1, 2023
@radoslav06
Copy link

There is problem with duplicated BreakBeforeBraces option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants