Support ClangFormat v17.0.0#1
Open
tanzislam wants to merge 11 commits into
Open
Conversation
7ae5d5e to
db2a554
Compare
2125e92 to
5c11743
Compare
e3b09f5 to
0d5307b
Compare
0d5307b to
86ac2cf
Compare
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
86ac2cf to
d26a611
Compare
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.
2c6cd65 to
a8fd0f7
Compare
|
There is problem with duplicated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an indenter configuration file for ClangFormat v17.0.0. It can generate all the documented
.clang-formatoptions, except the following:ExperimentalAutoDetectBinPacking, because it is discouraged from use in config files.AlwaysBreakAfterDefinitionReturnType,DeriveLineEnding,SpaceInEmptyParentheses,SpacesInCStyleCastParentheses,SpacesInConditionalStatement,SpacesInParenthesesandUseCRLF, because they are now deprecated.IncludeCategoriesandRawStringFormats, 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.