[clang] [clang-format] Add --fallback-style to git-clang-format (PR #137609)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 19 08:51:57 PDT 2025


mydeveloperday wrote:

For those repos that don't have a .clang-format why not just add one with whatever your fallback style is?

BasedOnStyle: <whatever_you_need>

I know this seems like a reasonable feature but it just causes another set of functionality we have to think about, I don't see the values to people who actually use clang-format? isn't the purpose here to encourage those who don't use clang-format to use it...



https://github.com/llvm/llvm-project/pull/137609


More information about the cfe-commits mailing list