[clang] [clang-format] Add -r option for recursing into directories (PR #160299)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 20 10:23:31 PDT 2025
mydeveloperday wrote:
> Yes, indeed, that's why I think the option would typically best be paired with .clang-format-ignore files.
Oh! Please no!... I don't want to have to exclude everything... there is never a good case to format a whole directory and I don't want to format stuff by mistake.. so the command line needs to be an inclusion list not an exclusion list, as I suggested a glob is the only situation where I believe you can do anything like this.
https://github.com/llvm/llvm-project/pull/160299
More information about the cfe-commits
mailing list