kuzkry added a comment. Hey @MyDeveloperDay,
Thank you for your positive feedback :) You asked about my technique. Well, I did it empirically. There is a really splendid repository on GitHub by muttleyxd, i.e. https://github.com/muttleyxd/clang-tools-static-binaries. What muttleyxd did is he automated the task of compiling all major versions of clang tools (including clang-format) and he released it in form of static binaries to avoid problems with dependencies (they are really small though). Btw. I recommend you to at least save this as a bookmark in your web browser. Having downloaded clang-format in versions 3.9 and from 4.0 to 13.0, I simply manually ran those binaries and looked for "unknown key" errors. I did that only for all options marked with "clang-format 14" tag, i.e.: EmptyLineAfterAccessModifier IfMacros PPIndentWidth PackConstructorInitializers PenaltyBreakOpenParenthesis QualifierAlignment QualifierOrder ReferenceAlignment RemoveBracesLLVM SeparateDefinitionBlocks ShortNamespaceLines SpaceBeforeParensOptions SpacesInAngles SpacesInLineCommentPrefix The only problem I got was SpacesInAngles, which I actually checked using your technique, i.e. git-based rather than empirical one. I had to make it like that cause it was already available before 3.9, which is the earliest in muttleyxd's repository. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118991/new/ https://reviews.llvm.org/D118991 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits