[clang] [clang-format] Add -r option for recursing into directories (PR #160299)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 25 02:32:49 PDT 2025


mydeveloperday wrote:

if we were going to do this... wouldn't   something like --glob  '**/dir/*.cpp' be nicer to support? than doing just -r .

clang-format  --glob  '**/src/*.cpp' --glob  '**/include/*.h'

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


More information about the cfe-commits mailing list