[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [csmith-dev] astyle and csmith
clang-format does have tools for formatting patches rather than whole files (git-clang-format for git integration too). That's the way the LLVM project's been doing it - not with any policy, just having a format config that describes the project, then contributors can use it (& sometimes suggest using it in code reviews if the formatting looks off in some way) & if a particular file is really far from the prevailing style and you're going to make a bunch of changes, sometimes a whole file is formatted ahead of those changes.