GloryOfNight wrote: I want to express support for this feature. Just today I attempted to integrate .clang-format-ignore and was really confused by fact that it cannot ignore recursively. Project I wanted to integrate it to has a lot of generated files which is all over the place. It's very inconvenient have to use that pattern for every directory I want to ignore: ``` imported/* imported/*/* imported/*/*/* ``` `DisableFormat ` is also inconvenient, since placing .clang-format with disabled formatting all over the project not exactly a solution I would want to go with either.
Just having single .clang-format-ignore file with `imported/**` would be much more convenient way to do things. IMO. https://github.com/llvm/llvm-project/pull/110560 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits